Derived Property Handler
Identifier:
ilog.rules.studio.model.derivedPropertyHandlers
Since:
JRules 6.0
Description:
Allows plug-ins to specify handlers that dynamically compute a value for extractable properties. An extractable property handler is called during IRL code generation, when the value of the property need to be retrieved by the rule engine.
Configuration Markup:
<!ELEMENT extension (extractablePropertyHandler+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - A fully qualified identifier of the target extension point.
- id - An optional identifier of the extension instance.
- name - An optional name of the extension instance.
<!ELEMENT extractablePropertyHandler EMPTY>
<!ATTLIST extractablePropertyHandler
id CDATA #REQUIRED
handlerClass CDATA #REQUIRED>
- id - String key identifying the handler. This ID is used to associate the handler with the properties that should be considered. It can either be the qualified name of the property, or a key used in property annotations of the rule model extension files.
- handlerClass - The fully-qualified name of the Java class that implements the
ilog.rules.commonbrm.model.IlrExtractablePropertyHandler interface.
It must be a Java class with a public default constructor.
Examples:
<extension point=
"ilog.rules.studio.model.extractablePropertyHandlers"
>
<extractablePropertyHandler
handlerClass=
"sample.StatusHandler"
id=
"model.rule.BusinessRule.active"
/>
<extractablePropertyHandler
handlerClass=
"sample.DateHandler"
id=
"dateExtractableHandlerID"
/>
</extension>
API Information:
See ilog.rules.commonbrm.model.IlrExtractablePropertyHandler.
Supplied Implementation:
The ID of each extractable property handler extension can be either the fully-qualified name of the property that is targeted, or a key that is associated to the property in rule model extension files (*.brmx files).
Copyright © 1987-2008 ILOG S.A. All rights reserved.