computeEffectiveState(java.util.List<ComponentState> states) Compute the effective state of the Component from a list of Component States
If one or more state is a STARTED state the state is STARTED
If one or more state is STOPPED state and there is no STARTED state
the state is STOPPED
If there are no STOPPED or STARTED states the state is SHUTDOWN
Parameters: states - - a List of states.
Loaded status. Note: This never appears in the permanent registry,
only in the runtime registry. It is a transient state used only during
installation of a component.
Compute the effective state of the Component from a list of Component States
If one or more state is a STARTED state the state is STARTED
If one or more state is STOPPED state and there is no STARTED state
the state is STOPPED
If there are no STOPPED or STARTED states the state is SHUTDOWN
Parameters: states - - a List of states. the effective component state
Given the ComponentState convert it to a LifeCycleMBean state string.
This method will be deleted after
(a) state strings are fixed "Shutdown" and not "SHUTDOWN"
(b) LifeCycleMBean.RUNNING is changed to LifeCycleMBean.STARTED
Given the LifeCycleMBean state string convert it to a ComponentState.
This method will be deleted after
(a) state strings are fixed "Shutdown" and not "SHUTDOWN"
(b) LifeCycleMBean.RUNNING is changed to LifeCycleMBean.STARTED
a ComponentState based on the String value. Parameters: valStr - - the string whose equivalent ComponentStateinstance is required. This operation ignoresthe case, i.e. Stopped or STOPPED or sToPpedwould return ComponentState.STOPPED