|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.gbean.runtime.GBeanInstanceState
public class GBeanInstanceState
| Method Summary | |
|---|---|
int |
getState()
|
State |
getStateInstance()
|
void |
start()
Moves this MBean to the State.STARTING state and then attempts to move this MBean immediately
to the State.RUNNING state. |
void |
startRecursive()
Starts this MBean and then attempts to start all of its start dependent children. |
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final void start()
State.STARTING state and then attempts to move this MBean immediately
to the 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. Sending a general notification from a synchronized block
is a bad idea and therefore not allowed.
public final void startRecursive()
public final void stop()
public int getState()
public final State getStateInstance()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||