Java XOM libraries

After you have deployed an ordered list of Java™ XOMs as a library, you view this library in the Libraries View of the Rule Execution Server console.

From the Libraries View, you can:
  • Add a library to an archive of libraries.
  • Add references to custom resources, to internal resources, or to other libraries to a library.
  • Remove a library from an archive of libraries. When you remove a library, you erase the selected library from the managed Java™ XOM but do not delete the internal resources and libraries that the library was referencing. To remove an internal reference to a resource or library, you remove its URI manually in the value of the ruleset.managedxom.uris property.

Use the Show references buttons to show or hide the list of rulesets that use this library in its ruleset.managedxom.uris property, directly or indirectly, through one or several libraries.

You can view invalid and unused libraries and then clean up the libraries archive. The Libraries Clean-up View contains information that can help you correct the invalid references or remove the invalid or unused libraries. Libraries are diagnosed as invalid based on the algorithm that the res-diagnose-xom-uri Ant task supports.

Each deployed library is flagged with an icon that reflects its status.

Green
The icon is green Green status icon for Java XOM resources in Resource View if the following conditions are satisfied:
  • All the referenced URIs are valid.
  • At least one ruleset uses the library or is used by a ruleset-referenced library. Any action to remove this library leads to an inconsistent state.
Yellow
The icon is yellow Yellow status icon for Java XOM resources in Resource View if the following conditions are satisfied:
  • All referenced URIs are valid.
  • No ruleset uses the library.
Red

The icon is red Red status icon for Java XOM resources in Resource View if at least one referenced URI is not valid.