ilog.rules.res.xu.plugin

Class IlrRuleEngineEventPlugin

  • java.lang.Object
    • ilog.rules.res.xu.plugin.internal.IlrAbstractPlugin
      • ilog.rules.res.xu.plugin.IlrRuleEngineEventPlugin
  • All Implemented Interfaces:
    IlrRuleEngineEventListener, ilog.rules.res.xu.event.internal.IlrXUEventListener, ilog.rules.res.xu.plugin.internal.IlrPlugin, java.util.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
    • 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
    • Constructor Detail

      • IlrRuleEngineEventPlugin

        public IlrRuleEngineEventPlugin()

© Copyright IBM Corp. 1987, 2020