Rule Execution Server API

ilog.rules.res.xu.plugin
Class IlrRuleEngineEventPlugin

java.lang.Object
  extended by ilog.rules.res.xu.plugin.internal.IlrAbstractPlugin
      extended by ilog.rules.res.xu.plugin.IlrRuleEngineEventPlugin
All Implemented Interfaces:
IlrRuleEngineEventListener, ilog.rules.res.xu.event.internal.IlrXUEventListener, ilog.rules.res.xu.plugin.internal.IlrPlugin, EventListener

public abstract class IlrRuleEngineEventPlugin
extends ilog.rules.res.xu.plugin.internal.IlrAbstractPlugin
implements IlrRuleEngineEventListener

IlrRuleEngineEventPlugin is an implementation plug-in that can be extended to create custom plug-ins. These plug-ins receive all the IlrRuleEngineEvents.

An Execution unit (XU) plug-in can only receive rule engine events when the trace mode of the ruleset is enabled.

The following code example shows how to extend IlrRuleEngineEventPlugin:

  import ilog.rules.res.xu.plugin.*;
  import ilog.rules.res.xu.event.*;

  public class MyPlugin extends IlrRuleEngineEventPlugin {

     public void ruleEngineEventRaised(IlrRuleEngineEvent event) {
         // do something with the event
     }
  }
 

Since:
7.0

Field Summary
 
Fields inherited from class ilog.rules.res.xu.plugin.internal.IlrAbstractPlugin
adapter, connectionFactory, eventDispatcher, logHandler, properties
 
Constructor Summary
IlrRuleEngineEventPlugin()
           
 
Method Summary
 
Methods inherited from class ilog.rules.res.xu.plugin.internal.IlrAbstractPlugin
destroy, getInteractionExtension, notifyRulesetArchiveChanged, setConnectionFactory, setLogHandler, setProperties, setResourceAdapter, setRulesetUsageInformationMonitor, setXUConfig, start, subscribe, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.rules.res.xu.event.IlrRuleEngineEventListener
ruleEngineEventRaised
 

Constructor Detail

IlrRuleEngineEventPlugin

public IlrRuleEngineEventPlugin()

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013