Interface IInitializable

All Known Subinterfaces:
IAccessMechanics, IAccessPolicy, IAccessService, IAliasCache, IAliasMechanics, IAliasPolicy, IAliasPolicy2, IAliasService, IAuditManager, IAuthHandler, IAuthManager, IBasicMechanics, IBasicPolicy, IBizPolicy, IBizPolicyManager, IBizPolicyResolver, IBundleManager, ICache, ICacheManager, ICachePolicy, ICafAppConfig, IClassCache, IClassManager, IClassManagerMechanics, IClassManagerPolicy, IClipboardMechanics, IClusterPartitionProvider, IClusterProvider, ICommand, ICommandManager, ICommandResolver, IComponent, IComponentProvider, IConnectionManagerMechanics, IConnectionManagerPolicy, IContainerContentConstraintMechanics, IContainerMechanics, IContainerPolicy, IContentManager, IContentMechanics, IContentService, IContextMechanics, IContextPolicy, IContextProvider, IDBCache, IDependentCache, IDirService, IDirServiceBizPolicy, IDirServiceMechanics, IDirSystem, IDirSystemBizPolicy, IDirSystemManagementObject, IDirSystemMechanics, IDispatchHandler, IDispatchManager, IDispatchPostProcessor, IDispatchPreProcessor, IDispatchRedirectProcessor, IDispatchResolver, IErrorManager, IFolderMechanics, IGdprConfigService, IGlobalProvider, IGroupBizPolicy, IGroupMechanics, IHandler, IInstallMechanics, IInstallPolicy, IInstallProvider, IInstallService, ILanguagePack, ILanguagePackManager, ILicenseMechanics, ILicensePolicy, ILicenseProvider, ILinkMechanics, ILocalePortletMechanics, IMailUtil, IManager, IMechanics, IMechanicsManager, IMechanicsResolver, IMessageCategoryProvider, IMessageFormatter, IMetaComponent, IMetaContext, IMetaEventService, IMetaManager, IMetaQueryService, IMetaViewService, IPartition, IPhase, IPhaseProvider, IPortalMechanics, IPortalRulesMechanics, IPortalServlet, IPortletApplication, IPortletContainer, IPortletMechanics, IPortletPolicy, IPortletProvider, IPortletProviderMechanics, IPortletType, IPortletWebManager, IPresentationCacheMechanics, IPresentationHandler, IPresentationHook, IPresentationManager, IPrincipalAttributeBizPolicy, IPrincipalAttributeMechanics, IPrincipalAttributeProvider, IPrincipalAttributeProviderEx, IPrincipalBizPolicy, IPrincipalMechanics, IPropertyEditor, IPropertyEditorManager, IRelationService, IRemoteAliasMechanics, IRemoteCommandTransport, IRenderer, IResourceLoader, IRoleMechanics, IRoleProvider, IRuleMechanics, ISamlSecurityService, ISchedpubPolicy, ISchedPubService, IScheduleMechanics, ISchedulePolicy, ISearchAndFilterMechanics, ISecurityService, ISecurityServiceMechanics, ISegment, IServer, IServiceThingService, ISessionHandler, ISessionHook, ISessionManager, IShellMechanics, ISkinComponentMechanics, ISkinMechanics, ISQLMechanics, ISQLPolicy, ISubRenderer, ISubscribableMechanics, ISubscriptionPolicy, ISubscriptionService, ISystemHandler, ISystemMechanics, ISystemPolicy, ITaskAuditService, ITaskBizPolicy, ITaskComponent, ITaskConnectivityService, ITaskDefinitionService, ITaskDistributionService, ITaskFormFlowService, ITaskMechanics, ITaskMonitoringService, ITaskProcessAuditService, ITaskScheduleMechanics, ITaskService, ITaskSystem, ITaskVotingService, ITemplateMechanics, IThingCache, IThingComponentProvider, IThingIDService, IThingService, ITimedCache, ITopicMechanics, ITopicSpaceMechanics, ITopicSpacePolicy, ITOTPConfigService, ITypeService, IUserBizPolicy, IUserMechanics, IUserPrivacyService, IUserService, IVersionableMechanics, IVersionPolicy, IVersionProvider, IVersionService, IVersionServiceMechanics, IViewableContainerMechanics, IViewableContainerPolicy, IViewableMechanics, IViewablePolicy, IWatchService, IWebApplication, IWebAppMechanics, IWebAppRuntimeConfigManager, IWebSpaceMechanics, IWebSpacePolicy, IXTypeMechanics, TaskCommandJMS
All Known Implementing Classes:
BaseComponent, Handler, TaskIndexEngineFactoryInitializer

public interface IInitializable

This represents any object that is initializable by the PortalSystem at startup. For instance, all IComponentProvider implement IInitializable.

During startup, this inteface can perform the necessary initialization activities it requires. If an exception occurrs, the implementor should decide whether the system can recover. If it can, an InitializationException should be thrown with the paramater InitializationException.RECOVERABLE_ERROR. This implies that even though the object wasn't successfully initialized, the system as a whole can still continue to initialize. Otherwise, an InitializationException should be thrown with the paramater InitializationException.NON_RECOVERABLE_ERROR.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(IComponentData data, String phase)
    This component should initialize now.
    void
    This object is being uninitialized.