org.apache.geronimo.gbean
public interface: GBeanLifecycleController [javadoc |
source]
Context handle for a GBean which allows the bean to determin the current state, and to change the
current state.
- version:
$
- Rev: 151106 $ $Date: 2005-02-02 18:49:54 -0800 (Wed, 02 Feb 2005) $
Method from org.apache.geronimo.gbean.GBeanLifecycleController Summary: |
---|
getState, stop |
Method from org.apache.geronimo.gbean.GBeanLifecycleController Detail: |
public int getState()
Gets the state of this component as an int.
The int return is required by the JSR77 specification. |
public void stop() throws Exception
Attempt to bring the component into the fully stopped state. If an exception occurs while
stopping the component, tthe component is automaticaly failed.
There is no guarantee that the Geronimo MBean will be stopped when the method returns. |