Rule Execution Server API

Package ilog.rules.res.xu.persistence

This package provides classes and methods that you can use to write a custom XU file persistence mode.

See:
          Description

Class Summary
IlrFilePersistence This is the base class for custom persistence.
 

Exception Summary
IlrPersistenceException Persistence exceptions are raised to indicate that an error occurs in the persistence layer.
 

Package ilog.rules.res.xu.persistence Description

This package provides classes and methods that you can use to write a custom XU file persistence mode.

You can change the class that implements the persistence in the XU configuration file ra.xml.

For example, if you want to use the custom class mypackage.MyFilePersistence:

<config-property>
   <config-property-name>persistenceType
   <config-property-type>java.lang.String</config-property-type>
   <config-property-value>mypackage.MyFilePersistence</config-property-value>
</config-property>
        

The class must extend IlrFilePersistence.

In Java SE, you must add the class to the same class path as the XU class path or to its parent class path.

In Java EE, you must package the class in the XU .rar file.

The only elements that you can change in the ruleset file repository are the storage mode of the ruleset itself and its location. You must NOT modify any other information in the ruleset file repository.

You cannot modify the database persistence setting.

Since:
7.1

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013