Rule Execution Server API

com.ibm.rules.engine.runtime
Interface EngineObserver

All Superinterfaces:
Observer

public interface EngineObserver
extends Observer

Use an EngineObserver instance to observe the overall state of an Engine.


Method Summary
 void engineReset(Observable source)
          Called when the Engine is reset.
 void engineStopped(Observable source, String message)
          Called when an Engine is stopped using the stop method.
 void executionEnded(Observable source, EngineInput input)
          Called when the Engine has finished execution.
 void executionStarted(Observable source, EngineInput input)
          Called when the Engine starts.
 

Method Detail

executionStarted

void executionStarted(Observable source,
                      EngineInput input)
Called when the Engine starts.

Parameters:
source - The source of the notification, typically an engine.
input - The EngineInput object used by the observed engine.

executionEnded

void executionEnded(Observable source,
                    EngineInput input)
Called when the Engine has finished execution.

Parameters:
source - The source of the notification, typically an engine.
input - The EngineInput object used by the observed engine.

engineReset

void engineReset(Observable source)
Called when the Engine is reset.

Parameters:
source - The source of the notification, typically an engine.

engineStopped

void engineStopped(Observable source,
                   String message)
Called when an Engine is stopped using the stop method.

Parameters:
source - The source of the notification, typically an engine.
message - The message passed when engine is stopped.
See Also:
RunningEngine.stop(String)

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013