| java.lang.Object org.apache.geronimo.gbean.runtime.GBeanInstanceState
GBeanInstanceState | public class GBeanInstanceState (Code) | | version: $Rev: 542575 $ $Date: 2007-05-29 09:02:57 -0700 (Tue, 29 May 2007) $ |
Method Summary | |
void | attemptFullStart() Attempts to bring the component into
org.apache.geronimo.kernel.management.State.RUNNING state. | void | attemptFullStop() Attempt to bring the component into the fully stopped state. | final void | fail() Moves this MBean to the FAILED state. | public int | getState() | final public State | getStateInstance() | final public void | start() Moves this MBean to the
org.apache.geronimo.kernel.management.State.STARTING state and then attempts to move this MBean immediately
to the
org.apache.geronimo.kernel.management.State.RUNNING state.
Note: This method cannot be called while the current thread holds a synchronized lock on this MBean,
because this method sends JMX notifications. | final public void | startRecursive() Starts this MBean and then attempts to start all of its start dependent children.
Note: This method cannot be call while the current thread holds a synchronized lock on this MBean,
because this method sends JMX notifications. | final public void | stop() Moves this MBean to the STOPPING state, calls stop on all start dependent children, and then attempt
to move this MBean to the STOPPED state.
Note: This method can not be call while the current thread holds a syncronized lock on this MBean,
because this method sends JMX notifications. | public String | toString() |
attemptFullStart | void attemptFullStart()(Code) | | Attempts to bring the component into
org.apache.geronimo.kernel.management.State.RUNNING state. If an Exception occurs while
starting the component, the component will be failed.
Note: Do not call this from within a synchronized block as it makes may send a JMX notification
|
attemptFullStop | void attemptFullStop()(Code) | | Attempt to bring the component into the fully stopped state.
If an exception occurs while stopping the component, the component will be failed.
Note: Do not call this from within a synchronized block as it may send a JMX notification
|
fail | final void fail()(Code) | | Moves this MBean to the FAILED state. There are no calls to dependent children, but they will be notified
using standard J2EE management notification.
Note: This method can not be call while the current thread holds a syncronized lock on this MBean,
because this method sends JMX notifications. Sending a general notification from a synchronized block
is a bad idea and therefore not allowed.
|
getState | public int getState()(Code) | | |
getStateInstance | final public State getStateInstance()(Code) | | |
startRecursive | final public void startRecursive()(Code) | | Starts this MBean and then attempts to start all of its start dependent children.
Note: This method cannot be call while the current thread holds a synchronized lock on this MBean,
because this method sends JMX notifications. Sending a general notification from a synchronized block
is a bad idea and therefore not allowed.
|
stop | final public void stop()(Code) | | Moves this MBean to the STOPPING state, calls stop on all start dependent children, and then attempt
to move this MBean to the STOPPED state.
Note: This method can not be call while the current thread holds a syncronized lock on this MBean,
because this method sends JMX notifications. Sending a general notification from a synchronized block
is a bad idea and therefore not allowed.
|
|
|