Package org.pentaho.di.core.lifecycle
Class KettleLifecycleSupport
java.lang.Object
org.pentaho.di.core.lifecycle.KettleLifecycleSupport
A single point of contact for Kettle Lifecycle Plugin instances for invoking lifecycle methods.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.pentaho.di.core.plugins.PluginRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Execute all known listener'sonEnvironmentInit()
methods.void
-
Field Details
-
registry
protected static org.pentaho.di.core.plugins.PluginRegistry registry
-
-
Constructor Details
-
KettleLifecycleSupport
public KettleLifecycleSupport()
-
-
Method Details
-
onEnvironmentInit
public void onEnvironmentInit() throws org.pentaho.di.core.exception.KettleExceptionExecute all known listener'sonEnvironmentInit()
methods. If an invocation throws aLifecycleException
is severe this method will re-throw the exception.- Throws:
org.pentaho.di.core.lifecycle.LifecycleException
- if any listener throws a severe Lifecycle Exception or anyThrowable
.org.pentaho.di.core.exception.KettleException
-
onEnvironmentShutdown
public void onEnvironmentShutdown()
-