Interface DeferredServiceable
- All Known Implementing Classes:
AbstractConfigurableVirtualPageFactory,AbstractOdfPageFactory,AbstractSitemapElementFactory,AbstractSitemapElementsDAO,AbstractUGCPageFactory,AbstractUserDirectoryPageFactory,BaseContentElementType,ByEducationalPathAttributesEnumerator,ByEducationalPathAttributesEnumerator,CommentsDAO,CommentsDAO,ConfigurableVirtualZoneFactory,ConfigurableVirtualZoneItemFactory,ContainerFactory,ContentContentElementType,ContentFactory,ContentFilterHelper,ContentIndexableElementType,ContentRepositoryElementType,CourseFactory,CourseListFactory,CoursePageFactory,CoursePartFactory,DefaultPageFactory,DefaultSharedContentFactory,DefaultWebContentFactory,DefaultWorkflowAwareContentFactory,DefaultZoneFactory,DefaultZoneItemFactory,FirstLevelPageFactory,FormDirectoryFactory,FormEntryFactory,FormFactory,MigrationEngine,ModifiableContentFactory,ModifiableDefaultWebContentFactory,ODFHelper,OrgUnitFactory,OrgUnitPageFactory,PageDAO,PersonFactory,ProgramFactory,ProgramPageFactory,ProgramPartFactory,ProjectRightHelper,SecondLevelPageFactory,SitemapDAO,SitemapFactory,SubProgramFactory,TransitionalPageFactory,UGCPageFactory,UGCTransitionalPageFactory,UserPageFactory,UserStatusManager,UserZoneItemFactory,VirtualOrganisationChartPageFactory,VirtualUGCPageFactory,VirtualUserDirectoryPageFactory
public interface DeferredServiceable
Just like a
Unlike a standard
The drawback is that it cannot use other components during initialization.
This interface is mainly used to avoid circular dependencies during initialization.
Serviceable, a DeferredServiceable is a component that need to connect to other components. Unlike a standard
Serviceable, which Serviceable.service(ServiceManager) method is called during component initialization,
the deferredService(ServiceManager) method of a DeferredServiceable is called *after* component initialization.The drawback is that it cannot use other components during initialization.
This interface is mainly used to avoid circular dependencies during initialization.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeferredService(ServiceManager manager) Pass theServiceManagerused to access other components.
-
Method Details
-
deferredService
Pass theServiceManagerused to access other components.- Parameters:
manager- TheServiceManagerwhich thisDeferredServiceableuses. Must not benull.- Throws:
ServiceException- if an error occurs
-