public class EventPlugin extends Plugin implements com.ibm.rules.res.xu.engine.internal.EngineListener, com.ibm.rules.res.xu.event.internal.XUListener
EventPlugin is an implementation plug-in. You can extend it to
create custom plug-ins that receive events from the decision engine (DE) or from the classic rule engine (CRE).
An execution unit (XU) plug-in can receive rule engine events only when the trace mode of the ruleset is enabled.
| Constructor and Description |
|---|
EventPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectionClosed(ConnectionEvent evt)
Called when a XU connection is closed.
|
void |
connectionOpened(ConnectionEvent evt)
Called when a XU connection is opened.
|
void |
ruleExecutionCompleted(RuleEvent evt)
Called when the action part of a rule is completed.
|
void |
ruleExecutionStarted(RuleEvent evt)
Called when the action part of a rule is started.
|
void |
rulesetArchiveChanged(RulesetArchiveEvent evt)
Called when the XU is notified about ruleset archive changes.
|
void |
taskCompleted(TaskEvent evt)
Called when a task is completed.
|
void |
taskStarted(TaskEvent evt)
Called when a task is started.
|
getRulesetUsageInformationMonitor, notifyRulesetArchiveChanged, release, startdestroy, executeRuleset, executeRuleset, getInteractionExtension, getWorkManager, getXUConfig, getXUInfo, isLoggable, log, setConnectionFactory, setLogHandler, setProperties, setResourceAdapter, setRulesetUsageInformationMonitor, setXUConfig, start, subscribe, unsubscribepublic void taskCompleted(TaskEvent evt)
taskCompleted in interface com.ibm.rules.res.xu.engine.internal.EngineListenerevt - The event.public void taskStarted(TaskEvent evt)
taskStarted in interface com.ibm.rules.res.xu.engine.internal.EngineListenerevt - The event.public void ruleExecutionCompleted(RuleEvent evt)
ruleExecutionCompleted in interface com.ibm.rules.res.xu.engine.internal.EngineListenerevt - The event.public void ruleExecutionStarted(RuleEvent evt)
ruleExecutionStarted in interface com.ibm.rules.res.xu.engine.internal.EngineListenerevt - The event.public void connectionOpened(ConnectionEvent evt)
connectionOpened in interface com.ibm.rules.res.xu.event.internal.XUListenerevt - The event.public void connectionClosed(ConnectionEvent evt)
connectionClosed in interface com.ibm.rules.res.xu.event.internal.XUListenerevt - The event.public void rulesetArchiveChanged(RulesetArchiveEvent evt)
rulesetArchiveChanged in interface com.ibm.rules.res.xu.event.internal.XUListenerevt - The event.© Copyright IBM Corp. 1987, 2017