|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceLifecycleManager
Interface for managing the lifecycle of services. It provides methods to get
| Method Summary | |
|---|---|
void |
decommision(String name)
Decommision the given service by calling Startable.stop() and Disposable.dispose(). |
RoleEntry[] |
getRoleEntries()
Get a list of all RoleEntries. |
RoleEntry |
getRoleEntry(String name)
Get a RoleEntryImpl for a given service |
void |
reconfigure(String[] names)
Reconfigures a set of services by calling Suspendable.suspend(), Reconfigurable.reconfigure() and Suspendable.resume(). |
| Method Detail |
|---|
RoleEntry getRoleEntry(String name)
throws org.apache.avalon.framework.service.ServiceException
name - the name of the service component
org.apache.avalon.framework.service.ServiceException - the service was not foundRoleEntry[] getRoleEntries()
void reconfigure(String[] names)
throws org.apache.avalon.framework.service.ServiceException,
org.apache.avalon.framework.configuration.ConfigurationException
names - the set of services to be reconfigured
org.apache.avalon.framework.service.ServiceException - one of the service was not found
org.apache.avalon.framework.configuration.ConfigurationException - the reconfiguration failed
void decommision(String name)
throws org.apache.avalon.framework.service.ServiceException
name - the name of the service
org.apache.avalon.framework.service.ServiceException - the service was not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||