|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceComponentLifecycle
This class implements the lifecycle contract of a service component instance.
| Method Summary | |
|---|---|
void |
decommision()
Decommisions a service component instance. |
void |
dispose()
Dispose a service component instance. |
Object |
getInstance()
|
void |
incarnate()
Incarnates a service component instance. |
void |
loadImplemtationClass(ClassLoader classLoader)
Loads the implementaion class. |
void |
reconfigure()
Reconfigures a service component instance |
void |
setConfiguration(org.apache.avalon.framework.configuration.Configuration configuration)
Sets the Configuration to be used by this component. |
void |
setContext(org.apache.avalon.framework.context.Context context)
Sets the Context to be used by this component. |
void |
setLogger(org.apache.avalon.framework.logger.Logger logger)
Sets the logger to be used by this component. |
void |
setParameters(org.apache.avalon.framework.parameters.Parameters parameters)
Sets the Parameters to be used by this component. |
void |
setServiceManager(org.apache.avalon.framework.service.ServiceManager serviceManager)
Sets the ServiceManager to be used by this component. |
| Method Detail |
|---|
void loadImplemtationClass(ClassLoader classLoader)
throws ClassNotFoundException
classLoader - the classloader to use for loading the implementation class
ClassNotFoundException - loading of the class failed
void incarnate()
throws Exception
Exception - the operation failed
void reconfigure()
throws Exception
Exception - the operation failed
void decommision()
throws Exception
Exception - the operation failedvoid dispose()
Object getInstance()
throws Exception
Exception - the operation failedvoid setLogger(org.apache.avalon.framework.logger.Logger logger)
logger - The logger to setvoid setServiceManager(org.apache.avalon.framework.service.ServiceManager serviceManager)
serviceManager - The serviceManager to set.void setContext(org.apache.avalon.framework.context.Context context)
context - The context to set.void setConfiguration(org.apache.avalon.framework.configuration.Configuration configuration)
configuration - The configuration to set.void setParameters(org.apache.avalon.framework.parameters.Parameters parameters)
parameters - The paramaters to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||