Skip navigation links
ilog.rules.res.xu.persistence
Class IlrFilePersistence
java.lang.Object
com.ibm.rules.res.xu.persistence.internal.AbstractXUPersistence
ilog.rules.res.xu.persistence.internal.IlrDAOXUPersistence
ilog.rules.res.xu.persistence.internal.IlrFilePersistenceImpl
ilog.rules.res.xu.persistence.IlrFilePersistence
All Implemented Interfaces: ilog.rules.res.xu.persistence.internal.IlrXUPersistence, ilog.rules.res.xu.ruleset.internal.IlrRulesetPathSolver, Serializable
public class IlrFilePersistence extends ilog.rules.res.xu.persistence.internal.IlrFilePersistenceImpl
This is the base class for custom persistence. It is based on the file system ruleset repository. You can use
this class to modify the way in which ruleset archives are retrieved.
Since:
7.1
See Also: Serialized Form
Fields inherited from class ilog.rules.res.xu.persistence.internal.IlrFilePersistenceImpl
repositoryDir, rulesetArchiveExpanded
Fields inherited from class ilog.rules.res.xu.persistence.internal.IlrDAOXUPersistence
dataProvider, managedXOMLazyLoadEnabled
Fields inherited from class com.ibm.rules.res.xu.persistence.internal.AbstractXUPersistence
CONCURRENT_PERSISTENCE_ACCESS_PROPERTY_NAME, logger, persistenceProps
Methods inherited from class ilog.rules.res.xu.persistence.internal.IlrFilePersistenceImpl
createDataProvider
Methods inherited from class ilog.rules.res.xu.persistence.internal.IlrDAOXUPersistence
getDataProvider, getManagedXOMClassLoader, retrieveRulesetArchiveProperties, solveCanonicalRulesetPath
Methods inherited from class com.ibm.rules.res.xu.persistence.internal.AbstractXUPersistence
destroy, dump, getCanonicalRulesetPath, getDeprecatedRulesetArchiveInformation, getRESRulesetArchive, getRulesetArchiveInformation, getRulesetArchiveProperties, retrieveRulesetArchiveInformation, setEventDispatcher, setLogHandler, setProfiling
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
FILE_PERSISTENCE_PROPERTY_NAME_DIRECTORY
public static final String FILE_PERSISTENCE_PROPERTY_NAME_DIRECTORY
This is the name of the property that specifies what directory the file persistence uses.
See Also: Constant Field Values
IlrFilePersistence
public IlrFilePersistence ()
retrieveRESRulesetArchive
public IlrRESRulesetArchive retrieveRESRulesetArchive (IlrPath canonicalPath)
throws IlrPersistenceException
Gets a ruleset archive from the ruleset repository.
The implementation of this method must not implement any kind of caching.
Overrides: retrieveRESRulesetArchive
in class ilog.rules.res.xu.persistence.internal.IlrDAOXUPersistence
Since:
7.5
Throws:
IlrPersistenceException
- Thrown to indicate an error when the
ruleset archive is retrieved from the ruleset repository.Parameters: canonicalPath
- The canonical path of the ruleset.
Returns: IlrRulesetArchive The ruleset archive.
setProperties
public void setProperties (Map <String ,String > properties)
throws IlrPersistenceException
Sets the properties of the persistence.
You can set these properties in one of three ways:
<
in the ra.xml
deployment descriptor
in the connection-specific deployment descriptor
by using the administration console of your application server.
The configuration property name is persistenceProperties
.
Any implementation overriding this method must call the
setProperties(Map)
method.
This method is called before the retrieveRESRulesetArchive(IlrPath)
method only if the XU
configuration parameter persistenceProperties
is defined. This method can be called more than once, for
example when the configuration parameter
persistenceProperties
is modified.
Specified by: setProperties
in interface ilog.rules.res.xu.persistence.internal.IlrXUPersistence
Overrides: setProperties
in class ilog.rules.res.xu.persistence.internal.IlrFilePersistenceImpl
Throws:
IlrPersistenceException
- Thrown to indicate wrong properties.Parameters: properties
- The persistence properties.See Also: FILE_PERSISTENCE_PROPERTY_NAME_DIRECTORY
Skip navigation links
© Copyright IBM Corp. 1987, 2013