org.pentaho.di.core.lifecycle
Interface KettleLifecycleListener

All Known Implementing Classes:
KettleEnvironmentTest.FailingMockLifecycleListener, KettleEnvironmentTest.MockLifecycleListener, KettleEnvironmentTest.SevereFailingMockLifecycleListener, KettleEnvironmentTest.ThrowableFailingMockLifecycleListener

public interface KettleLifecycleListener

A callback to be notified when the Kettle environment is initialized and shut down.


Method Summary
 void onEnvironmentInit()
          Called during KettleEnvironment initialization.
 void onEnvironmentShutdown()
          Called when the VM that initialized KettleEnvironment terminates.
 

Method Detail

onEnvironmentInit

void onEnvironmentInit()
                       throws LifecycleException
Called during KettleEnvironment initialization.

Throws:
LifecycleException - to indicate the listener did not complete successfully. Severe LifecycleExceptions will stop the initialization of the KettleEnvironment.

onEnvironmentShutdown

void onEnvironmentShutdown()
Called when the VM that initialized KettleEnvironment terminates.