| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GBeanLifecycle
An optional interface for a GBean. When a GBean implements this interface, the implementation will get life-cycle callbacks.
| Method Summary | |
|---|---|
|  void | doFail()Fails the GBean. | 
|  void | doStart()Starts the GBean. | 
|  void | doStop()Stops the target. | 
| Method Detail | 
|---|
void doStart()
             throws Exception
Exception - if the target failed to start; this will cause a transition to the failed state
void doStop()
            throws Exception
Exception - if the target failed to stop; this will cause a transition to the failed statevoid doFail()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||