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

You can add a library, add references to a library, and remove libraries in the development environment only.

The References from rulesets section displays the list of rulesets that use this library in its ruleset.managedxom.urisproperty, 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 has a status:

Valid and in use
  • 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.
Valid and not in use
  • All referenced URIs are valid.
  • No ruleset uses the library.
Invalide
At least one referenced URI is not valid.