public class Plugin
extends com.ibm.rules.res.xu.plugin.internal.PluginBase
Plugin is an implementation plug-in that you can extend to
create custom plug-ins.
| Constructor and Description |
|---|
Plugin() |
| Modifier and Type | Method and Description |
|---|---|
IlrRulesetUsageInformationMonitor |
getRulesetUsageInformationMonitor()
Retrieves information on how the ruleset is used .
|
void |
notifyRulesetArchiveChanged(IlrPath path)
Notifies the XU resource adapter that a ruleset archive has changed.
|
void |
release()
Called by the XU when the plug-in is released and will not be
used any more.
|
void |
start(java.util.Map<java.lang.String,java.lang.String> props)
Called when the plug-in is started by the XU.
|
destroy, executeRuleset, executeRuleset, getInteractionExtension, getWorkManager, getXUConfig, getXUInfo, isLoggable, log, setConnectionFactory, setLogHandler, setProperties, setResourceAdapter, setRulesetUsageInformationMonitor, setXUConfig, start, subscribe, unsubscribepublic void start(java.util.Map<java.lang.String,java.lang.String> props)
throws PluginException
plugins XU
configuration property.start in class com.ibm.rules.res.xu.plugin.internal.PluginBasePluginExceptionprops - The properties associated with this plug-inpublic final void notifyRulesetArchiveChanged(IlrPath path)
notifyRulesetArchiveChanged in class com.ibm.rules.res.xu.plugin.internal.PluginBasepath - The canonical path of the ruleset.public final IlrRulesetUsageInformationMonitor getRulesetUsageInformationMonitor()
This method must not be called before the start(java.util.Map<java.lang.String, java.lang.String>)
method.
The null value is returned if the ruleset-usage information
feature of the XU has not been enabled. See the documentation of the rulesetUsageMonitorEnabled
XU configuration property.
getRulesetUsageInformationMonitor in class com.ibm.rules.res.xu.plugin.internal.PluginBasejava.lang.IllegalStateException - thrown if the method is called before the plug-in is started or
after it is released.public void release()
This method is not called when the application server is stopped, even normally. It is called when the set of plugins is changed.
release in class com.ibm.rules.res.xu.plugin.internal.PluginBase© Copyright IBM Corp. 1987, 2017