Interface DeferredServiceable
- All Known Implementing Classes:
MigrationEngine
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 TypeMethodDescriptionvoid
deferredService
(ServiceManager manager) Pass theServiceManager
used to access other components.
-
Method Details
-
deferredService
Pass theServiceManager
used to access other components.- Parameters:
manager
- TheServiceManager
which thisDeferredServiceable
uses. Must not benull
.- Throws:
ServiceException
- if an error occurs
-