|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.rules.res.xu.plugin.internal.PluginBase com.ibm.rules.res.xu.plugin.Plugin
public class Plugin
Plugin
is an implementation plug-in that you can extend to
create custom plug-ins.
Constructor Summary | |
---|---|
Plugin()
|
Method Summary | |
---|---|
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(Map<String,String> props)
Called when the plug-in is started by the XU. |
Methods inherited from class com.ibm.rules.res.xu.plugin.internal.PluginBase |
---|
destroy, executeRuleset, executeRuleset, getInteractionExtension, getWorkManager, getXUConfig, getXUInfo, isLoggable, log, 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 |
---|
public Plugin()
Method Detail |
---|
public void start(Map<String,String> props) throws PluginException
plugins
XU
configuration property.
start
in class com.ibm.rules.res.xu.plugin.internal.PluginBase
PluginException
props
- The properties associated with this plug-inpublic final void notifyRulesetArchiveChanged(IlrPath path)
notifyRulesetArchiveChanged
in class com.ibm.rules.res.xu.plugin.internal.PluginBase
path
- The canonical path of the ruleset.public final IlrRulesetUsageInformationMonitor getRulesetUsageInformationMonitor()
This method must not be called before the start(java.util.Map
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.PluginBase
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
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |