Derived Property Handler

ilog.rules.studio.model.derivedPropertyHandlers

JRules 6.0

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.

<!ELEMENT extension (extractablePropertyHandler+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT extractablePropertyHandler EMPTY>

<!ATTLIST extractablePropertyHandler

id           CDATA #REQUIRED

handlerClass CDATA #REQUIRED>


<extension point=

"ilog.rules.studio.model.extractablePropertyHandlers"

>

<extractablePropertyHandler handlerClass=

"sample.StatusHandler"

id=

"model.rule.BusinessRule.active"

/>

<extractablePropertyHandler handlerClass=

"sample.DateHandler"

id=

"dateExtractableHandlerID"

/>

</extension>

See ilog.rules.commonbrm.model.IlrExtractablePropertyHandler.

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).