public class H2Lifecycle extends Object implements com.sun.enterprise.module.LifecyclePolicy
Constructor and Description |
---|
H2Lifecycle()
Creates a new instance of DerbyLifecycle
|
Modifier and Type | Method and Description |
---|---|
void |
start(com.sun.enterprise.module.HK2Module module)
Callback when the module enters the
READY state. |
void |
stop(com.sun.enterprise.module.HK2Module module)
Callback before the module starts being unloaded.
|
public void start(com.sun.enterprise.module.HK2Module module)
READY
state.
This is a good time to do any type of one time initialization
or set up access to resourcesstart
in interface com.sun.enterprise.module.LifecyclePolicy
module
- the module instancepublic void stop(com.sun.enterprise.module.HK2Module module)
NEW
state.stop
in interface com.sun.enterprise.module.LifecyclePolicy
module
- the module instanceCopyright © 2021. All rights reserved.