Package com.sun.enterprise.v3.bootstrap
Class H2Lifecycle
- java.lang.Object
-
- com.sun.enterprise.v3.bootstrap.H2Lifecycle
-
- All Implemented Interfaces:
com.sun.enterprise.module.LifecyclePolicy
public class H2Lifecycle extends Object implements com.sun.enterprise.module.LifecyclePolicy
- Author:
- dochez
-
-
Constructor Summary
Constructors Constructor Description H2Lifecycle()Creates a new instance of DerbyLifecycle
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(com.sun.enterprise.module.HK2Module module)Callback when the module enters theREADYstate.voidstop(com.sun.enterprise.module.HK2Module module)Callback before the module starts being unloaded.
-
-
-
Method Detail
-
start
public void start(com.sun.enterprise.module.HK2Module module)
Callback when the module enters theREADYstate. This is a good time to do any type of one time initialization or set up access to resources- Specified by:
startin interfacecom.sun.enterprise.module.LifecyclePolicy- Parameters:
module- the module instance
-
stop
public void stop(com.sun.enterprise.module.HK2Module module)
Callback before the module starts being unloaded. The runtime will free all the module resources and returned to aNEWstate.- Specified by:
stopin interfacecom.sun.enterprise.module.LifecyclePolicy- Parameters:
module- the module instance
-
-