public class IlrFilePersistence
extends ilog.rules.res.xu.persistence.internal.IlrFilePersistenceImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILE_PERSISTENCE_PROPERTY_NAME_DIRECTORY
This is the name of the property that specifies what directory the file persistence uses.
|
| Constructor and Description |
|---|
IlrFilePersistence() |
| Modifier and Type | Method and Description |
|---|---|
IlrRESRulesetArchive |
retrieveRESRulesetArchive(IlrPath canonicalPath)
Gets a ruleset archive from the ruleset repository.
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the properties of the persistence.
|
createDataProvidergetManagedXOMClassLoader, retrieveRulesetArchiveProperties, solveCanonicalRulesetPathchangePerformed, destroy, dump, getCanonicalRulesetPath, getDeprecatedRulesetArchiveInformation, getLogger, getProperties, getRESRulesetArchive, getRulesetArchiveInformation, getRulesetArchiveInformation, getRulesetArchiveProperties, retrieveRulesetArchiveInformation, setEventDispatcher, setLogger, setProfilingpublic static final java.lang.String FILE_PERSISTENCE_PROPERTY_NAME_DIRECTORY
public IlrRESRulesetArchive retrieveRESRulesetArchive(IlrPath canonicalPath) throws IlrPersistenceException
The implementation of this method must not implement any kind of caching.
retrieveRESRulesetArchive in class ilog.rules.res.xu.persistence.internal.IlrDAOXUPersistenceIlrPersistenceException - Thrown to indicate an error when the
ruleset archive is retrieved from the ruleset repository.canonicalPath - The canonical path of the ruleset.public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
throws IlrPersistenceException
You can set these properties in one of three ways: <
ra.xml deployment descriptor
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.
setProperties in class ilog.rules.res.xu.persistence.internal.IlrFilePersistenceImplIlrPersistenceException - Thrown to indicate wrong properties.properties - The persistence properties.FILE_PERSISTENCE_PROPERTY_NAME_DIRECTORY© Copyright IBM Corp. 1987, 2017