Rule Execution Server API

ilog.rules.res.session.config
Interface IlrXUConfig


public interface IlrXUConfig

The Execution Unit configuration.

Since:
8.0

Method Summary
 IlrPluginConfig createPluginConfig(String pluginClassName)
           
 IlrPoolConfig getConnectionPoolConfig()
           
 Level getLoglevel()
           
 IlrPersistenceConfig getManagedXOMPersistenceConfig()
           
 IlrPersistenceConfig getPersistenceConfig()
           
 List<IlrPluginConfig> getPluginConfigs()
           
 boolean isAsynchronousRulesetParsingEnabled()
           
 boolean isLogAutoFlushEnabled()
           
 boolean isRulesetUsageMonitorEnabled()
           
 void setAsynchronousRulesetParsingEnabled(boolean enable)
           
 void setLogAutoFlushEnabled(boolean enable)
           
 void setLogLevel(Level level)
           
 void setPluginConfigs(List<IlrPluginConfig> pluginConfigs)
           
 void setRulesetUsageMonitorEnabled(boolean enable)
           
 

Method Detail

getLoglevel

Level getLoglevel()
Returns:
the currently set log level

setLogLevel

void setLogLevel(Level level)
Throws:
IllegalArgumentException - if the log level is null
Parameters:
level - the new log level

isLogAutoFlushEnabled

boolean isLogAutoFlushEnabled()
Returns:
true if log autoflush is enabled

setLogAutoFlushEnabled

void setLogAutoFlushEnabled(boolean enable)
Parameters:
enable - true to enable the log autoflush

getPersistenceConfig

IlrPersistenceConfig getPersistenceConfig()
Returns:
the persistence configuration for the ruleset repository

getManagedXOMPersistenceConfig

IlrPersistenceConfig getManagedXOMPersistenceConfig()
Returns:
the persistence configuration for managed XOMs

getConnectionPoolConfig

IlrPoolConfig getConnectionPoolConfig()
Returns:
the connection pool configuration

getPluginConfigs

List<IlrPluginConfig> getPluginConfigs()
Returns:
the current plugin configurations. The returned list is a deep copy: no change will be reflected to the current plugin configurations.

setPluginConfigs

void setPluginConfigs(List<IlrPluginConfig> pluginConfigs)
Parameters:
pluginConfigs - the new plugin configurations. A value of null is equivalent to an empty list.

createPluginConfig

IlrPluginConfig createPluginConfig(String pluginClassName)
Throws:
IllegalArgumentException - if pluginClassname is null
Parameters:
pluginClassName - the plugin class name
Returns:
a new IlrPluginConfig instance

isAsynchronousRulesetParsingEnabled

boolean isAsynchronousRulesetParsingEnabled()
Returns:
true if asynchronous ruleset parsing is enabled

setAsynchronousRulesetParsingEnabled

void setAsynchronousRulesetParsingEnabled(boolean enable)
Parameters:
enable - true to enable asynchronous ruleset parsing

isRulesetUsageMonitorEnabled

boolean isRulesetUsageMonitorEnabled()
Returns:
true if monitoring of the ruleset usage is enabled

setRulesetUsageMonitorEnabled

void setRulesetUsageMonitorEnabled(boolean enable)
Parameters:
enable - true to enable monitoring of the ruleset usage

Rule Execution Server API

© Copyright IBM Corp. 1987, 2012