org.pentaho.di.core.lifecycle
Class LifecycleSupport

java.lang.Object
  extended by org.pentaho.di.core.lifecycle.LifecycleSupport
All Implemented Interfaces:
LifecycleListener

public class LifecycleSupport
extends Object
implements LifecycleListener


Constructor Summary
LifecycleSupport()
           
 
Method Summary
 void onExit(LifeEventHandler handler)
          Called when the application ends
 void onStart(LifeEventHandler handler)
          Called when the application starts.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleSupport

public LifecycleSupport()
Method Detail

onStart

public void onStart(LifeEventHandler handler)
             throws LifecycleException
Description copied from interface: LifecycleListener
Called when the application starts.

Specified by:
onStart in interface LifecycleListener
Throws:
LifecycleException - Whenever this listener is unable to start succesfully.

onExit

public void onExit(LifeEventHandler handler)
            throws LifecycleException
Description copied from interface: LifecycleListener
Called when the application ends

Specified by:
onExit in interface LifecycleListener
Throws:
LifecycleException - If a problem prevents this listener from shutting down.