|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LifecycleListener
A callback interface that listens to specific lifecycle events triggered when Spoon starts and stops. Listeners are loaded dynamically by PDI. In order to register a listener with Spoon, a class that implements this interface must be placed in the "org.pentaho.di.core.listeners.pdi" package, and it will be loaded automatically when Spoon starts.
Method Summary | |
---|---|
void |
onExit(LifeEventHandler handler)
Called when the application ends |
void |
onStart(LifeEventHandler handler)
Called when the application starts. |
Method Detail |
---|
void onStart(LifeEventHandler handler) throws LifecycleException
LifecycleException
- Whenever this listener is unable to start succesfully.void onExit(LifeEventHandler handler) throws LifecycleException
LifecycleException
- If a problem prevents this listener from shutting down.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |