com.sun.enterprise.v3.bootstrap
Class DerbyLifecycle

java.lang.Object
  extended by com.sun.enterprise.v3.bootstrap.DerbyLifecycle
All Implemented Interfaces:
com.sun.enterprise.module.LifecyclePolicy

public class DerbyLifecycle
extends Object
implements com.sun.enterprise.module.LifecyclePolicy

Author:
dochez

Constructor Summary
DerbyLifecycle()
          Creates a new instance of DerbyLifecycle
 
Method Summary
 void start(com.sun.enterprise.module.Module module)
          Callback when the module enters the READY state.
 void stop(com.sun.enterprise.module.Module module)
          Callback before the module starts being unloaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbyLifecycle

public DerbyLifecycle()
Creates a new instance of DerbyLifecycle

Method Detail

start

public void start(com.sun.enterprise.module.Module module)
Callback when the module enters the READY state. This is a good time to do any type of one time initialization or set up access to resources

Specified by:
start in interface com.sun.enterprise.module.LifecyclePolicy
Parameters:
module - the module instance

stop

public void stop(com.sun.enterprise.module.Module module)
Callback before the module starts being unloaded. The runtime will free all the module resources and returned to a NEW state.

Specified by:
stop in interface com.sun.enterprise.module.LifecyclePolicy
Parameters:
module - the module instance


Copyright © 2012. All Rights Reserved.