public interface ServiceLifecycleManager
Modifier and Type | Method and Description |
---|---|
void |
decommision(java.lang.String name)
Decommision the given service by calling Startable.stop()
and Disposable.dispose().
|
RoleEntry[] |
getRoleEntries()
Get a list of all RoleEntries.
|
RoleEntry |
getRoleEntry(java.lang.String name)
Get a RoleEntryImpl for a given service
|
void |
reconfigure(java.lang.String[] names)
Reconfigures a set of services by calling Suspendable.suspend(),
Reconfigurable.reconfigure() and Suspendable.resume().
|
RoleEntry getRoleEntry(java.lang.String name) throws org.apache.avalon.framework.service.ServiceException
name
- the name of the service componentorg.apache.avalon.framework.service.ServiceException
- the service was not foundRoleEntry[] getRoleEntries()
void reconfigure(java.lang.String[] names) throws org.apache.avalon.framework.service.ServiceException, org.apache.avalon.framework.configuration.ConfigurationException
names
- the set of services to be reconfiguredorg.apache.avalon.framework.service.ServiceException
- one of the service was not foundorg.apache.avalon.framework.configuration.ConfigurationException
- the reconfiguration failedvoid decommision(java.lang.String name) throws org.apache.avalon.framework.service.ServiceException
name
- the name of the serviceorg.apache.avalon.framework.service.ServiceException
- the service was not foundCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.