|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceManager
Interface for managing the JOnAS services.
| Method Summary | |
|---|---|
void |
disableServiceStatesCheck()
Disable the service states check. |
List<String> |
getAllServices()
Return the list of all JOnAS services. |
List<String> |
getOptionalServices()
Return the list of optional JOnAS services. |
String |
getServiceDescription(String serviceName)
Return the description of a given JOnAS service. |
String |
getServiceState(String serviceName)
Return the state of a given JOnAS service. |
void |
startRequiredServices(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Start all required services for a given deployable. |
void |
startService(String serviceName,
boolean deployOSGiResources)
Start a given JOnAS service. |
void |
startServices()
Start optional JOnAS services defined in the server configuration. |
void |
stopService(String serviceName)
Stop a given JOnAS service. |
void |
stopServices()
Stop all optional started JOnAS services. |
| Method Detail |
|---|
void startService(String serviceName,
boolean deployOSGiResources)
throws Exception
serviceName - the service namedeployOSGiResources - true if OSGi resources of the service need to be deployed
Exception - If the startup of the service failsvoid startRequiredServices(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
deployable - The deployable to analyse
void stopService(String serviceName)
throws Exception
serviceName - the service name
Exception - If the stop of the service failsvoid startServices()
void stopServices()
List<String> getAllServices()
List<String> getOptionalServices()
String getServiceDescription(String serviceName)
serviceName - the service name
String getServiceState(String serviceName)
serviceName - the service name
void disableServiceStatesCheck()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||