public interface: GBeanLifecycle
An optional interface for a GBean. When a GBean implements this interface, the implementation
will get life-cycle callbacks.
$ - Rev: 573120 $ $Date: 2007-09-05 17:30:21 -0700 (Wed, 05 Sep 2007) $
|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.