|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifeCycleManager
| Method Summary | |
|---|---|
void |
dispose(Env env)
This method is called on this instance when the Soto container's dispose() method is called, after all services have been initialized. |
void |
disposeService(ServiceConfiguration conf)
This method is called by the Soto container when a given service's dispose/destroy method is to be called. |
java.lang.Class |
getServiceClass(java.lang.Object service)
This method is called by lookup code that searches services based on their type. |
void |
init(Env env)
This method is called on this instance when the Soto container's init() method is called, prior to initializing any service. |
void |
initService(ServiceConfiguration conf)
This method is called by the Soto container when a given service's initialization method is to be called. |
java.lang.Object |
lookupService(java.lang.String name,
java.lang.Object service)
This method is called by the Soto container when a service has been successfully looked up. |
void |
postInit(Env env)
This method is called on this instance when the Soto container's init() method is called, after all services have been initialized. |
void |
startService(ServiceConfiguration conf)
This method is called by the Soto container when a given service's startup method is to be called. |
| Method Detail |
|---|
void init(Env env)
env - the Env instance corresponding to the Soto container
in the context of which this manager is used.void postInit(Env env)
env - the Env instance corresponding to the Soto container
in the context of which this manager is used.
java.lang.Exception - if a problem occurs.void dispose(Env env)
env - the Env instance corresponding to the Soto container
in the context of which this manager is used.
void initService(ServiceConfiguration conf)
throws java.lang.Exception
conf - a ServiceConfiguration instance.
java.lang.Exception - if a problem occurs while performing the initialization.
void startService(ServiceConfiguration conf)
throws java.lang.Exception
conf - a ServiceConfiguration instance.
java.lang.Exception - if a problem occurs while performing the startup.
java.lang.Object lookupService(java.lang.String name,
java.lang.Object service)
name - the name used by the client application when performing the lookup, or null
if the lookup was not performed by name.service - the service object that was found.
java.lang.Class getServiceClass(java.lang.Object service)
service - a service instance.
Class corresponding to the type of the service.
void disposeService(ServiceConfiguration conf)
throws java.lang.Exception
conf - a ServiceConfiguration instance.
java.lang.Exception - if a problem occurs while performing the disposal/destruction.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||