| |
|
| com.sun.jbi.ServiceUnitState
ServiceUnitState | public enum ServiceUnitState (Code) | | This interface provides information on Service Assemblys.
author: Sun Microsystems, Inc. |
SHUTDOWN | Enum Constant SHUTDOWN(Code) | | |
STARTED | Enum Constant STARTED(Code) | | |
STOPPED | Enum Constant STOPPED(Code) | | |
UNKNOWN | Enum Constant UNKNOWN(Code) | | |
convertState | public static String convertState(ServiceUnitState state)(Code) | | Converts the service unit state to the equivalent
DeploymentService state.
|
getEffectiveServiceAssemblyState | public static ServiceUnitState getEffectiveServiceAssemblyState(List<ServiceUnitState> suStates)(Code) | | Compute the effective state of a Service Unit given a list of
Service Unit States.
If one or more service units is in a STARTED state the state is STARTED
If one or more service units is in the STOPPED state and no servuce unit is in the
STARTED state the state is STOPPED
If no service unit is in the STOPPED or STARTED state and one or more
service units is in the SHUTDOWN state, the state is SHUTDOWN.
If none of the above are true the state is UNKNOWN
the effective service unit state |
toString | public String toString()(Code) | | the String value for the ServiceUnitType |
valueOfDeploymentServiceState | public static ServiceUnitState valueOfDeploymentServiceState(String state)(Code) | | Get the equivalent ServiceUnitState from DeploymentServiceMBean state.
|
valueOfString | public static ServiceUnitState valueOfString(String valStr)(Code) | | a ServiceUnitState based on the String value. Parameters: valStr - - the string whose equivalent ServiceUnitStateinstance is required. This operation ignoresthe case, i.e. Stopped or STOPPED or sToPpedwould return ServiceUnitState.STOPPED |
|
|
|