Save This Page
Home » geronimo-2.2-source-release » org.apache.geronimo.gbean » [javadoc | source]
org.apache.geronimo.gbean
public interface: GBeanLifecycle [javadoc | source] An optional interface for a GBean. When a GBean implements this interface, the implementation will get life-cycle callbacks.
Method from org.apache.geronimo.gbean.GBeanLifecycle Summary:
doFail,   doStart,   doStop
Method from org.apache.geronimo.gbean.GBeanLifecycle Detail:
 public  void doFail()
    Fails the GBean. This informs the GBean that it is about to transition to the failed state.
 public  void doStart() throws Exception
    Starts the GBean. This informs the GBean that it is about to transition to the running state.
 public  void doStop() throws Exception
    Stops the target. This informs the GBean that it is about to transition to the stopped state.