Home » geronimo-2.2-source-release » org.apache.geronimo.gbean » [javadoc | source]
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.
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.