Make certain methods of a boot BOM class such as java.lang.String unavailable when authoring business rules
How can the class java.lang.String be used in the Business Object Model (BOM) without making all the methods of the String class available when authoring business rules?
You will need to edit the String entry in the boot BOM files, to remove the methods that you do not want to be used in your business rules.
java.lang.String class is defined in the boot BOM, which is provided in
<JRules Installation Directory>/studio/samples/authoring/bomextensions/rules/resources.
Drag and drop all the boot BOM files (boot.bom, boot.voc and boot.b2x) into the bom directory of your rule project.
Edit the boot.bom file. Remove the methods from the String class that you do not want to be used in your business rules. This way only the methods in the boot.bom will be visible to the rule writer when authoring business rules.
Keep track of the modifications you make to the boot BOM. Each JRules release comes with a possibly modified boot BOM. Once you upgrade to a different JRules version, you will have to reapply the modifications on the latest boot BOM.
|Business Integration||IBM Operational Decision Manager||Platform Independent||7.5||Enterprise|
|Business Integration||IBM Operational Decision Manager||Platform Independent||8.0|
More support for:
WebSphere ILOG JRules
Features:BOM (Business Object Model)
Software version: 6.5, 6.6, 6.7, 7.0, 7.1
Operating system(s): AIX, HP-UX, IBM i, Linux, Solaris, Windows, z/OS
Reference #: 1424949
Modified date: 11 February 2011