|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationManager
This interface provides methods to manage the JOnAS service configurations.
| Method Summary | |
|---|---|
void |
deleteServiceConfiguration(String service)
Delete the service configuration for the given service. |
List<String> |
getAllServices()
Return the list of JOnAS services. |
List<String> |
getMandatoryServices()
Return the list of JOnAS mandatory services. |
List<String> |
getOptionalServices()
Return the list of JOnAS optional services. |
Dictionary<String,String> |
getServiceProperties(String service)
Get all properties for a given JOnAS service name. |
void |
haltServer()
Halt server by stopping the system bundle. |
boolean |
matchService(String service)
Return true if the given service matches a JOnAS service |
void |
updateServiceConfiguration(String service)
Create or update the service configuration for the given service. |
| Method Detail |
|---|
void haltServer()
throws Exception
Exception - If an exception occurs during server halting
void updateServiceConfiguration(String service)
throws Exception
service - the service name
Exception - If an exception occurs during configuration updates
void deleteServiceConfiguration(String service)
throws Exception
service - the service name
Exception - If an exception occurs during configuration deletionsList<String> getAllServices()
List<String> getMandatoryServices()
List<String> getOptionalServices()
boolean matchService(String service)
service - The service name
Dictionary<String,String> getServiceProperties(String service)
service - The given service name
Dictionary value representing all properties for a JOnAS service name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||