ilog.rules.res.session.config
Interface IlrPersistenceConfig
-
public interface IlrPersistenceConfig
The persistence configuration for the ruleset repository . The persistence type is set by the methodsetPersistenceType(IlrPersistenceType)
.
Use the methodgetFilePersistenceConfig()
,getJDBCPersistenceConfig()
orgetDatasourcePersistenceConfig()
to configure the persistence according to the chosen persistence type.- Since:
- 8.0
-
-
Method Summary
Methods Modifier and Type Method and Description IlrDatasourcePersistenceConfig
getDatasourcePersistenceConfig()
IlrFilePersistenceConfig
getFilePersistenceConfig()
IlrJDBCPersistenceConfig
getJDBCPersistenceConfig()
IlrPersistenceType
getPersistenceType()
void
setPersistenceType(IlrPersistenceType type)
-
-
-
Method Detail
-
getPersistenceType
IlrPersistenceType getPersistenceType()
- Returns:
- the persistence type
-
setPersistenceType
void setPersistenceType(IlrPersistenceType type)
- Throws:
java.lang.IllegalArgumentException
- if type value is null- Parameters:
type
- the persistence type
-
getFilePersistenceConfig
IlrFilePersistenceConfig getFilePersistenceConfig()
- Returns:
- the file persistence configuration
-
getJDBCPersistenceConfig
IlrJDBCPersistenceConfig getJDBCPersistenceConfig()
- Returns:
- the JDBC persistence configuration
-
getDatasourcePersistenceConfig
IlrDatasourcePersistenceConfig getDatasourcePersistenceConfig()
- Returns:
- the datasource persistence configuration
-
-