|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectflux.Configuration
public class Configuration
A specification of how to make or lookup a Flux engine, including selective configuration information that can be updated at runtime.
Field Summary | |
---|---|
static java.lang.String |
AGENT_FAILOVER_TIME_WINDOW
A time expression that specifies the duration of time between agent connectivity tests. |
static java.lang.String |
AUDIT_TRAIL_EXPIRATION
A time expression indicating how old individual audit trail, run average, and run history entries must be before they are automatically pruned. |
static java.lang.String |
AUDIT_TRAIL_FILTER
Audit trail events to record to the audit trail. |
static java.lang.String |
AUDIT_TRAIL_LOGGER
The name of the logger used when logging audit trail information. |
static java.lang.String |
AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED
Indicates whether actions that execute in a flow chart that are later rolled back in the current database transaction are still recorded to the audit trail. |
static java.lang.String |
CACHE_SIZE
The size of the flow chart cache. |
static java.lang.String |
CACHE_TYPE
Depending on the kind of cache used in a Flux engine, performance can be increased dramatically. |
static java.lang.String |
CLIENT_LOGGER
The name of the logger used when logging client-side information. |
static java.lang.String |
CLUSTER_NETWORKING_ENABLED
Indicates whether networking is enabled in the engine instance when it participates in a cluster. |
static java.lang.String |
CONCURRENCY_LEVEL
The concurrency throttle limit in the root node of the runtime configuration tree, assuming the root concurrency throttle expression is "/ <= N", where N is the limit. |
static java.lang.String |
DAILY_MAINTENANCE_TIME
The time at which the engine performs once-a-day maintenance on the Flux database tables. |
static java.lang.String |
DATA_SOURCE
The name used to lookup an application server's database connection pool. |
static java.lang.String |
DATA_SOURCE_AUTO_COMMIT_CHECK
Indicates whether to disable auto-commit on database connections obtained through a data source. |
static java.lang.String |
DATA_SOURCE_CACHING
Indicates whether data source objects are saved and re-used later. |
static java.lang.String |
DATA_SOURCE_PASSWORD
The password used to retrieve a database connection from an application server data source. |
static java.lang.String |
DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME
For client calls into the Engine interface, the specified JNDI name to look up a javax.transaction.UserTransaction object. |
static java.lang.String |
DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME
For running flow charts in the background, the specified JNDI name to lookup a javax.transaction.UserTransaction object. |
static java.lang.String |
DATA_SOURCE_USER_TRANSACTION_TIMEOUT
Contains the timeout time expression for all user transactions that the engine uses. |
static java.lang.String |
DATA_SOURCE_USER_TRANSACTIONS
Indicates whether a User Transaction object manages database transactions when database connections are retrieved from a data source. |
static java.lang.String |
DATA_SOURCE_USERNAME
The username used to retrieve a database connection from an application server data source. |
static java.lang.String |
DATABASE_PROPERTIES
A description of how to use the engine's database tables, to rename database tables and columns, to reassign a standard SQL type, and to provide initialization SQL statements to database connections that are created to directly access the database. |
static java.lang.String |
DATABASE_TYPE
The database that the engine uses. |
static java.lang.String |
DEFAULT_AGENT_FAILOVER_TIME_WINDOW
Default value is "+15m". |
static java.lang.String |
DEFAULT_AUDIT_TRAIL_EXPIRATION
Default value is "+w", one week. |
static java.lang.String |
DEFAULT_AUDIT_TRAIL_FILTER
Default value is "". |
static java.lang.String |
DEFAULT_AUDIT_TRAIL_LOGGER
Default value is audit_trail. |
static boolean |
DEFAULT_AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED
Default value is false. |
static int |
DEFAULT_CACHE_SIZE
Default value is 200. |
static CacheType |
DEFAULT_CACHE_TYPE
Default value is CacheType.LOCAL. |
static java.lang.String |
DEFAULT_CLIENT_LOGGER
Default value is client. |
static boolean |
DEFAULT_CLUSTER_NETWORKING_ENABLED
Default value is true. |
static java.lang.String |
DEFAULT_DAILY_MAINTENANCE_TIME
Default value is "0 0 0 2", which means that the daily maintenance is performed at 02:00 each morning, local time. |
static boolean |
DEFAULT_DATA_SOURCE_AUTO_COMMIT_CHECK
Default value is true. |
static boolean |
DEFAULT_DATA_SOURCE_CACHING
Default value is false. |
static java.lang.String |
DEFAULT_DATA_SOURCE_PASSWORD
Default value is "". |
static java.lang.String |
DEFAULT_DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME
Default value is "java:comp/UserTransaction". |
static java.lang.String |
DEFAULT_DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME
Default value is "java:comp/UserTransaction". |
static java.lang.String |
DEFAULT_DATA_SOURCE_USER_TRANSACTION_TIMEOUT
Default value is "+d", one day. |
static boolean |
DEFAULT_DATA_SOURCE_USER_TRANSACTIONS
Default value is false. |
static java.lang.String |
DEFAULT_DATA_SOURCE_USERNAME
Default value is "". |
static DatabaseType |
DEFAULT_DATABASE_TYPE
Default value is DatabaseType.DERBY. |
static java.lang.String |
DEFAULT_ENGINE_CONTENTS_SUMMARY_FREQUENCY
Default value is "+1d", one day. |
static java.lang.String |
DEFAULT_FAILOVER_TIME_WINDOW
Default value is "+3m". |
static boolean |
DEFAULT_FILE_TRANSFER_DEBUG
Default value is false. |
static boolean |
DEFAULT_FLOW_CHART_DEADLINES_ENABLED
Default value is true. |
static java.lang.String |
DEFAULT_FLOW_CHART_LOGGER
The default value is "flow_chart". |
static java.lang.String |
DEFAULT_HEARTBEAT_FREQUENCY
Default value is "+1H", one hour. |
static java.lang.String |
DEFAULT_INITIAL_CONTEXT_PASSWORD
Default value is "". |
static java.lang.String |
DEFAULT_INITIAL_CONTEXT_USERNAME
Default value is "". |
static java.lang.String |
DEFAULT_INTERNAL_LOGGER_FILE_DIRECTORY
The default value is " |
static long |
DEFAULT_INTERNAL_LOGGER_FILE_ROTATION_SIZE
The default size is 10485760 (ten megabytes, 10 * 1024 * 1024). |
static Level |
DEFAULT_INTERNAL_LOGGER_LEVEL
The default value is Level.INFO. |
static java.lang.String |
DEFAULT_JDBC_CONNECTION_RECYCLE_FREQUENCY
Default value is "+1H". |
static java.lang.String |
DEFAULT_JDBC_ENCRYPTED_PASSWORD
Default value is "". |
static java.lang.String |
DEFAULT_JDBC_PASSWORD
Default value is "". |
static java.lang.String |
DEFAULT_JDBC_USERNAME
Default value is "sa". |
static boolean |
DEFAULT_LDAP_ENABLED
The default value is false. |
static java.util.Map<java.lang.String,java.lang.String> |
DEFAULT_LDAP_GROUP_TO_ROLE_MAP
Defaults to null, which implies that all LDAP users will be mapped to the Flow Chart Master security role in Flux, which is always guaranteed to exist. |
static boolean |
DEFAULT_LDAP_USER_GROUP_ATTRIBUTE_IS_DN
Default value is false. |
static boolean |
DEFAULT_LDAP_USER_SEARCH_MODE_ENABLED
Default value is true. |
static java.lang.String |
DEFAULT_LOG_EXPIRATION
Default value is "+w", one week. |
static LoggerType |
DEFAULT_LOGGER_TYPE
Default value is internal asynchronous. |
static java.util.Set<LoggerType> |
DEFAULT_LOGGER_TYPES
Default value is a java.util.Set containing LoggerType.ASYNCHRONOUS. |
static int |
DEFAULT_MAX_CONNECTIONS
Default value is 15. |
static int |
DEFAULT_PORT
Default value is 7520. |
static boolean |
DEFAULT_RUN_HISTORY_ENABLED
Default value is true. |
static RuntimeConfigurationNode |
DEFAULT_RUNTIME_CONFIGURATION
A default runtime configuration that allows at most one flow chart to run at the same time and defines a default error handler that retries failed actions up to five times, with one minute delays after a failure. |
static java.lang.String |
DEFAULT_RUNTIME_CONFIGURATION_FILE_REFRESH_FREQUENCY
Default value is "+m", one minute. |
static java.util.Map<java.lang.String,java.lang.String> |
DEFAULT_SCRIPTING_LANGUAGES
Defaults to null, which implies that BeanShell is configured as the default scripting language. |
static boolean |
DEFAULT_SECURITY_ENABLED
Default value is false. |
static boolean |
DEFAULT_SERVER
Default value is false. |
static boolean |
DEFAULT_SSL
Default value is true. |
static java.lang.String |
DEFAULT_SYSTEM_DELAY
Default value is "+3m". |
static java.lang.String |
DEFAULT_SYSTEM_DELAY_MINIMUM
Default value is "+1s". |
static java.lang.String |
DEFAULT_SYSTEM_LOGGER
The default value is "system". |
static java.lang.String |
DEFAULT_SYSTEM_RESOURCE_COMMAND
Default value is "". |
static java.lang.String |
DEFAULT_SYSTEM_RESOURCE_INTERVAL
Default value is "". |
static java.lang.String |
DEFAULT_TABLE_PREFIX
Default value is "FLUX_". |
static java.lang.String |
DRIVER
The class name of a JDBC driver. |
static java.lang.String |
ENGINE_CONTENTS_SUMMARY_FREQUENCY
A time expression that specifies the frequency with which engine contents status audit trail events are generated. |
static java.lang.String |
FAILOVER_TIME_WINDOW
A time expression that specifies how often engines check for failed engine instances. |
static java.lang.String |
FAIRNESS_TIME_WINDOW
If set to a non-null time expression, permits flow chart priorities to temporarily rise over time in order to prevent lower priority flow charts from starving and never being allowed to execute due to the fact that higher priority flow charts generally run before lower priority flow charts. |
static java.lang.String |
FILE_TRANSFER_DEBUG
Whether debugging is enabled for file transfers. |
static java.lang.String |
FLOW_CHART_DEADLINES_ENABLED
Indicates whether flow chart deadlines (SLAs or Service Level Agreements) are enabled; disabling deadlines reduces database activity. |
static java.lang.String |
FLOW_CHART_LOGGER
The name of the logger used when logging information during flow chart execution. |
static java.lang.String |
HEARTBEAT_FREQUENCY
A time expression that specifies the frequency with which heartbeat audit trail events are generated. |
static java.lang.String |
HOST
The computer where an engine resides. |
static java.lang.String |
ID_DESCRIPTION
A description of the engine instance intended for human consumption. |
static java.lang.String |
ID_NAME
The case-insensitive name of the engine instance. |
static java.lang.String |
INITIAL_CONTEXT_FACTORY
The JNDI name of an application server's initial context factory. |
static java.lang.String |
INITIAL_CONTEXT_PASSWORD
The password used to create an application server initial context when looking up objects in an application server's JNDI tree, such as a data source, EJB info, or JMS info. |
static java.lang.String |
INITIAL_CONTEXT_USERNAME
The username used to create an application server initial context when looking up objects in an application server's JNDI tree, such as a data source, EJB info, or JMS info. |
static java.lang.String |
INTERNAL_LOGGER_FILE_DIRECTORY
The directory where log files are placed. |
static java.lang.String |
INTERNAL_LOGGER_FILE_ROTATION_SIZE
The maximum size to which a log file for the internal asynchronous and internal synchronous loggers can grow before it is rotated. |
static java.lang.String |
INTERNAL_LOGGER_LEVEL
The logging level used for the internal asynchronous and internal synchronous loggers. |
static java.lang.String |
JDBC_CONNECTION_RECYCLE_FREQUENCY
When a J2SE engine is created, it creates a database connection pool and periodically recycles database connections. |
static java.lang.String |
JDBC_ENCRYPTED_PASSWORD
The encrypted password used to create a direct JDBC database connection, without going through an application server or a data source. |
static java.lang.String |
JDBC_PASSWORD
The password used to create a direct JDBC database connection, without going through an application server or a data source. |
static java.lang.String |
JDBC_USERNAME
The username used to create a direct JDBC database connection, without going through an application server or a data source. |
static java.lang.String |
LDAP_BASE_DN
The base DN for LDAP lookups. |
static java.lang.String |
LDAP_BIND_DN
The bind DN for LDAP lookups. |
static java.lang.String |
LDAP_BIND_PASSWORD
The encrypted bind password for LDAP lookups. |
static java.lang.String |
LDAP_ENABLED
Indicates that usernames and passwords are retrieved from an LDAP server instead of internally within Flux. |
static java.lang.String |
LDAP_GROUP_BASE_DN
In group search mode, the group base DN for LDAP lookups. |
static java.lang.String |
LDAP_GROUP_MEMBER_ATTRIBUTE_ID
In group search mode, the group member attribute ID for LDAP lookups. |
static java.lang.String |
LDAP_GROUP_NAME_ATTRIBUTE_ID
In either user search mode or group search mode, the group name attribute ID for LDAP lookups. |
static java.lang.String |
LDAP_GROUP_TO_ROLE_MAP
Specifies how LDAP groups are mapped to security roles in Flux when a user logs in to a Flux engine for the first time. |
static java.lang.String |
LDAP_HOST_URL
An "ldap" or "ldaps" URL referring to the network location of the LDAP server. |
static java.lang.String |
LDAP_SEARCH_ATTRIBUTE
The search attribute for LDAP lookups. |
static java.lang.String |
LDAP_USER_GROUP_ATTRIBUTE
In user search mode, the user group attribute for LDAP lookups. |
static java.lang.String |
LDAP_USER_GROUP_ATTRIBUTE_IS_DN
In user search mode, the user group attribute is DN flag for LDAP lookups. |
static java.lang.String |
LDAP_USER_SEARCH_MODE_ENABLED
Indicates whether user search mode or group search mode is enabled. |
static java.lang.String |
LOG_EXPIRATION
A time expression indicating how old individual log entries in the Flux logs must be before they are automatically pruned. |
static java.lang.String |
LOGGER_TYPE
Indicates a logging system that the Flux engine uses. |
static java.lang.String |
LOGGER_TYPES
A set of flux.logging.LoggerType objects that indicates the logging systems that the Flux engine uses. |
static java.lang.String |
MAX_CONNECTIONS
The maximum number of database connections used. |
static java.lang.String |
ORACLE_LARGE_OBJECT_ADAPTER
By default, standard JDBC APIs are used to persist large binary and character data to all databases. |
static java.lang.String |
PORT
The port to which an engine server listens. |
static java.lang.String |
PROVIDER_URL
The URL to an application server. |
static java.lang.String |
RUN_HISTORY_ENABLED
Indicates whether flow chart run history information is recorded to the database; disabling run history reduces database activity. |
static java.lang.String |
RUNTIME_CONFIGURATION
Used to populate the flow chart namespace with configuration properties that apply to one engine only. |
static java.lang.String |
RUNTIME_CONFIGURATION_FILE
File path to a runtime configuration file. |
static java.lang.String |
RUNTIME_CONFIGURATION_FILE_REFRESH_FREQUENCY
A time expression that specifies the frequency with which the runtime configuration file is reloaded automatically. |
static java.lang.String |
SCRIPTING_LANGUAGES
Specifies the scripting languages that are registered with the Flux engine. |
static java.lang.String |
SECURITY_ENABLED
Indicates whether security is enabled. |
static java.lang.String |
SERVER
Indicates whether an engine is created as a server that can be contacted over the network. |
static java.lang.String |
SSL
Indicates whether SSL is enabled on the server. |
static java.lang.String |
SYSTEM_DELAY
The maximum amount of time the engine sleeps when it has nothing to do. |
static java.lang.String |
SYSTEM_DELAY_MINIMUM
The minimum amount of time the engine sleeps before polling the database to determine if more work is available. |
static java.lang.String |
SYSTEM_LOGGER
The name of the logger used when logging system information. |
static java.lang.String |
SYSTEM_RESOURCE_COMMAND
Command to obtain system resource information such as CPU and memory usage. |
static java.lang.String |
SYSTEM_RESOURCE_INTERVAL
A time expression that specifies the frequency with which the system resource command is executed to obtain a snapshot of system resources. |
static java.lang.String |
TABLE_PREFIX
The prefix for all table names. |
static java.lang.String |
URL
A JDBC database URL. |
static java.lang.String |
WORK_MANAGER_RESOURCE_NAME
The name used to locate a Work Manager resource, to which the engine delegates background processing instead of using threads created directly by the engine. |
Constructor Summary | |
---|---|
Configuration()
Makes a basic engine configuration from which further modifications can be made. |
|
Configuration(java.util.Properties properties)
Makes an engine configuration using the supplied configuration properties. |
|
Configuration(java.lang.String propertiesFile)
Makes an engine configuration using the supplied configuration properties file. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a deep copy of this Configuration object. |
java.lang.String |
getAgentFailoverTimeWindow()
Returns the AGENT_FAILOVER_TIME_WINDOW configuration property. |
java.lang.String |
getAuditTrailExpiration()
Returns the AUDIT_TRAIL_EXPIRATION configuration property. |
java.util.Set<java.lang.String> |
getAuditTrailFilter()
Returns the AUDIT_TRAIL_FILTER configuration property. |
java.lang.String |
getAuditTrailLogger()
Returns the AUDIT_TRAIL_LOGGER configuration property. |
boolean |
getAuditTrailRollbackRecordingsEnabled()
Returns the AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED configuration property. |
int |
getCacheSize()
Returns the CACHE_SIZE configuration property. |
CacheType |
getCacheType()
Returns the CACHE_TYPE configuration property. |
java.lang.String |
getClientLogger()
Returns the CLIENT_LOGGER configuration property. |
boolean |
getClusterNetworkingEnabled()
Returns the CLUSTER_NETWORKING_ENABLED configuration property. |
int |
getConcurrencyLevel()
Returns the CONCURRENCY_LEVEL configuration property. |
java.lang.String |
getDailyMaintenanceTime()
Returns the DAILY_MAINTENANCE_TIME configuration property. |
java.util.Properties |
getDatabaseProperties()
Returns the DATABASE_PROPERTIES configuration property. |
DatabaseType |
getDatabaseType()
Returns the DATABASE_TYPE configuration property. |
java.lang.String |
getDataSource()
Returns the DATA_SOURCE configuration property. |
boolean |
getDataSourceAutoCommitCheck()
Returns the DATA_SOURCE_AUTO_COMMIT_CHECK configuration setting. |
boolean |
getDataSourceCaching()
Returns the DATA_SOURCE_CACHING configuration property. |
java.lang.String |
getDataSourcePassword()
Returns the DATA_SOURCE_PASSWORD configuration property. |
java.lang.String |
getDataSourceUsername()
Returns the DATA_SOURCE_USERNAME configuration property. |
java.lang.String |
getDataSourceUserTransactionClientJndiName()
Returns the DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME configuration setting. |
boolean |
getDataSourceUserTransactions()
Returns the DATA_SOURCE_USER_TRANSACTIONS configuration property. |
java.lang.String |
getDataSourceUserTransactionServerJndiName()
Returns the DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME configuration setting. |
java.lang.String |
getDataSourceUserTransactionTimeout()
Returns the DATA_SOURCE_USER_TRANSACTION_TIMEOUT configuration property. |
java.lang.String |
getDriver()
Returns the DRIVER configuration property. |
java.lang.String |
getEngineContentsSummaryFrequency()
Returns the ENGINE_CONTENTS_SUMMARY_FREQUENCY configuration property. |
java.lang.String |
getFailoverTimeWindow()
Returns the FAILOVER_TIME_WINDOW configuration property. |
java.lang.String |
getFairnessTimeWindow()
Returns the FAIRNESS_TIME_WINDOW configuration property. |
boolean |
getFileTransferDebug()
Returns the FILE_TRANSFER_DEBUG configuration property. |
boolean |
getFlowChartDeadlinesEnabled()
Returns the FLOW_CHART_DEADLINES_ENABLED configuration property. |
java.lang.String |
getFlowChartLogger()
Returns the FLOW_CHART_LOGGER configuration property. |
java.lang.String |
getHeartbeatFrequency()
Returns the HEARTBEAT_FREQUENCY configuration property. |
java.lang.String |
getHost()
Returns the HOST configuration property. |
java.lang.String |
getIdDescription()
Returns the ID_DESCRIPTION configuration property. |
java.lang.String |
getIdName()
Returns the ID_NAME configuration property. |
java.lang.String |
getInitialContextFactory()
Returns the INITIAL_CONTEXT_FACTORY configuration property. |
java.lang.String |
getInitialContextPassword()
Returns the INITIAL_CONTEXT_PASSWORD configuration property. |
java.lang.String |
getInitialContextUsername()
Returns the INITIAL_CONTEXT_USERNAME configuration property. |
java.lang.String |
getInternalLoggerFileDirectory()
Returns the INTERNAL_LOGGER_FILE_DIRECTORY configuration property. |
long |
getInternalLoggerFileRotationSize()
Returns the INTERNAL_LOGGER_FILE_ROTATION_SIZE configuration property. |
Level |
getInternalLoggerLevel()
Returns the INTERNAL_LOGGER_LEVEL configuration property. |
java.lang.String |
getJdbcConnectionRecycleFrequency()
Returns the JDBC_CONNECTION_RECYCLE_FREQUENCY configuration property. |
java.lang.String |
getJdbcEncryptedPassword()
Returns the JDBC_ENCRYPTED_PASSWORD configuration property. |
java.lang.String |
getJdbcPassword()
Returns the JDBC_PASSWORD configuration property. |
java.lang.String |
getJdbcUsername()
Returns the JDBC_USERNAME configuration property. |
java.lang.String |
getLdapBaseDn()
Returns the LDAP_BASE_DN configuration property. |
java.lang.String |
getLdapBindDn()
Returns the LDAP_BIND_DN configuration property. |
java.lang.String |
getLdapBindPassword()
Returns the LDAP_BIND_PASSWORD configuration property. |
boolean |
getLdapEnabled()
Returns the LDAP_ENABLED configuration property. |
java.lang.String |
getLdapGroupBaseDn()
Returns the LDAP_GROUP_BASE_DN configuration property. |
java.lang.String |
getLdapGroupMemberAttributeId()
Returns the LDAP_GROUP_MEMBER_ATTRIBUTE_ID configuration property. |
java.lang.String |
getLdapGroupNameAttributeId()
Returns the LDAP_GROUP_NAME_ATTRIBUTE_ID configuration property. |
java.util.Map<java.lang.String,java.lang.String> |
getLdapGroupToRoleMap()
Returns the LDAP_GROUP_TO_ROLE_MAP configuration property. |
java.lang.String |
getLdapHostUrl()
Returns the LDAP_HOST_URL configuration property. |
java.lang.String |
getLdapSearchAttribute()
Returns the LDAP_SEARCH_ATTRIBUTE configuration property. |
java.lang.String |
getLdapUserGroupAttribute()
Returns the LDAP_USER_GROUP_ATTRIBUTE configuration property. |
boolean |
getLdapUserGroupAttributeIsDn()
Returns the LDAP_USER_GROUP_ATTRIBUTE_IS_DN configuration property. |
boolean |
getLdapUserSearchModeEnabled()
Returns the LDAP_USER_SEARCH_MODE_ENABLED configuration property. |
java.lang.String |
getLogExpiration()
Returns the LOG_EXPIRATION configuration property. |
LoggerType |
getLoggerType()
Returns the LOGGER_TYPE configuration property. |
java.util.Set<LoggerType> |
getLoggerTypes()
Returns the LOGGER_TYPES configuration property. |
int |
getMaxConnections()
Returns the MAX_CONNECTIONS configuration property. |
java.lang.String |
getOracleLargeObjectAdapter()
Returns the class name of the Oracle LOB Adapter used. |
int |
getPort()
Returns the PORT configuration property. |
java.lang.String |
getProviderUrl()
Returns the PROVIDER_URL configuration property. |
boolean |
getRunHistoryEnabled()
Returns the RUN_HISTORY_ENABLED configuration property. |
RuntimeConfigurationNode |
getRuntimeConfiguration()
Returns the RUNTIME_CONFIGURATION configuration property. |
java.lang.String |
getRuntimeConfigurationFile()
Returns the RUNTIME_CONFIGURATION_FILE configuration property. |
java.lang.String |
getRuntimeConfigurationFileRefreshFrequency()
Returns the RUNTIME_CONFIGURATION_FILE_REFRESH_FREQUENCY configuration setting. |
java.util.Map<java.lang.String,java.lang.String> |
getScriptingLanguages()
Returns the SCRIPTING_LANGUAGES configuration property. |
boolean |
getSecurityEnabled()
Returns the SECURITY_ENABLED configuration property. |
boolean |
getServer()
Returns the SERVER configuration property. |
boolean |
getSsl()
Returns the SSL configuration property. |
java.lang.String |
getSystemDelay()
Returns the SYSTEM_DELAY configuration property. |
java.lang.String |
getSystemDelayMinimum()
Returns the SYSTEM_DELAY_MINIMUM configuration property. |
java.lang.String |
getSystemLogger()
Returns the SYSTEM_LOGGER configuration property. |
java.lang.String |
getSystemResourceCommand()
Returns the SYSTEM_RESOURCE_COMMAND configuration property. |
java.lang.String |
getSystemResourceInterval()
Returns the SYSTEM_RESOURCE_INTERVAL configuration property. |
java.lang.String |
getTablePrefix()
Returns the TABLE_PREFIX configuration property. |
java.lang.String |
getUrl()
Returns the URL configuration property. |
java.lang.String |
getWorkManagerResourceName()
Returns the WORK_MANAGER_RESOURCE_NAME configuration property. |
void |
setAgentFailoverTimeWindow(java.lang.String agentFailoverTimeWindow)
Sets the AGENT_FAILOVER_TIME_WINDOW configuration property. |
void |
setAuditTrailExpiration(java.lang.String auditTrailExpiration)
Sets the AUDIT_TRAIL_EXPIRATION configuration property. |
void |
setAuditTrailFilter(java.util.Set<java.lang.String> auditTrailFilter)
Sets the AUDIT_TRAIL_FILTER configuration property. |
void |
setAuditTrailLogger(java.lang.String auditTrailLogger)
Sets the AUDIT_TRAIL_LOGGER configuration property. |
void |
setAuditTrailRollbackRecordingsEnabled(boolean auditTrailRollbackRecordingsEnabled)
Sets the AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED configuration property. |
void |
setCacheSize(int cacheSize)
Sets the CACHE_SIZE configuration property. |
void |
setCacheType(CacheType cacheType)
Sets the CACHE_TYPE configuration property. |
void |
setClientLogger(java.lang.String clientLogger)
Sets the CLIENT_LOGGER configuration property. |
void |
setClusterNetworkingEnabled(boolean clusterNetworkingEnabled)
Sets the CLUSTER_NETWORKING_ENABLED configuration property. |
void |
setConcurrencyLevel(int concurrencyLevel)
Sets the CONCURRENCY_LEVEL configuration property. |
void |
setDailyMaintenanceTime(java.lang.String dailyMaintenanceTime)
Sets the DAILY_MAINTENANCE_TIME configuration property. |
void |
setDatabaseProperties(java.util.Properties databaseProperties)
Sets the DATABASE_PROPERTIES configuration property. |
void |
setDatabaseProperties(java.lang.String databasePropertiesFile)
Sets the DATABASE_PROPERTIES configuration property. |
void |
setDatabaseType(DatabaseType databaseType)
Sets the DATABASE_TYPE configuration property. |
void |
setDataSource(java.lang.String dataSource)
Sets the DATA_SOURCE configuration property. |
void |
setDataSourceAutoCommitCheck(boolean dataSourceAutoCommitCheck)
Sets the DATA_SOURCE_AUTO_COMMIT_CHECK configuration setting. |
void |
setDataSourceCaching(boolean dataSourceCaching)
Sets the DATA_SOURCE_CACHING configuration property. |
void |
setDataSourcePassword(java.lang.String dataSourcePassword)
Sets the DATA_SOURCE_PASSWORD configuration property. |
void |
setDataSourceUsername(java.lang.String dataSourceUsername)
Sets the DATA_SOURCE_USERNAME configuration property. |
void |
setDataSourceUserTransactionClientJndiName(java.lang.String dataSourceUserTransactionClientJndiName)
Sets the DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME configuration setting. |
void |
setDataSourceUserTransactions(boolean dataSourceUserTransactions)
Sets the DATA_SOURCE_USER_TRANSACTIONS configuration property. |
void |
setDataSourceUserTransactionServerJndiName(java.lang.String dataSourceUserTransactionServerJndiName)
Sets the DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME configuration setting. |
void |
setDataSourceUserTransactionTimeout(java.lang.String transactionTimeout)
Sets the DATA_SOURCE_USER_TRANSACTION_TIMEOUT configuration property. |
void |
setDriver(java.lang.String driver)
Sets the DRIVER configuration property. |
void |
setEngineContentsSummaryFrequency(java.lang.String engineContentsStatusFrequency)
Sets the ENGINE_CONTENTS_STATUS_FREQUENCY configuration property. |
void |
setFailoverTimeWindow(java.lang.String failoverTimeWindow)
Sets the FAILOVER_TIME_WINDOW configuration property. |
void |
setFairnessTimeWindow(java.lang.String fairnessTimeWindow)
Sets the FAIRNESS_TIME_WINDOW configuration property. |
void |
setFileTransferDebug(boolean fileTransferDebug)
Sets the FILE_TRANSFER_DEBUG configuration property. |
void |
setFlowChartDeadlinesEnabled(boolean flowChartDeadlinesEnabled)
Sets the FLOW_CHART_DEADLINES_ENABLED configuration property. |
void |
setFlowChartLogger(java.lang.String flowChartLogger)
Sets the FLOW_CHART_LOGGER configuration property. |
void |
setHeartbeatFrequency(java.lang.String heartbeatFrequency)
Sets the HEARTBEAT_FREQUENCY configuration property. |
void |
setHost(java.lang.String host)
Sets the HOST configuration property. |
void |
setIdDescription(java.lang.String idDescription)
Sets the ID_DESCRIPTION configuration property. |
void |
setIdName(java.lang.String idName)
Sets the ID_NAME configuration property. |
void |
setInitialContextFactory(java.lang.String initialContextFactory)
Sets the INITIAL_CONTEXT_FACTORY configuration property. |
void |
setInitialContextPassword(java.lang.String initialContextPassword)
Sets the INITIAL_CONTEXT_PASSWORD configuration property. |
void |
setInitialContextUsername(java.lang.String initialContextUsername)
Sets the INITIAL_CONTEXT_USERNAME configuration property. |
void |
setInternalLoggerFileDirectory(java.lang.String internalLoggerFileDirectory)
Returns the INTERNAL_LOGGER_FILE_DIRECTORY configuration property. |
void |
setInternalLoggerFileRotationSize(long internalLoggerFileRotationSize)
Returns the INTERNAL_LOGGER_FILE_ROTATION_SIZE configuration property. |
void |
setInternalLoggerLevel(Level internalLoggerLevel)
Sets the INTERNAL_LOGGER_LEVEL configuration property. |
void |
setJdbcConnectionRecycleFrequency(java.lang.String jdbcConnectionRecycleFrequency)
Sets the JDBC_CONNECTION_RECYCLE_FREQUENCY configuration property. |
void |
setJdbcEncryptedPassword(java.lang.String jdbcEncryptedPassword)
Sets the JDBC_ENCRYPTED_PASSWORD configuration property. |
void |
setJdbcPassword(java.lang.String jdbcPassword)
Sets the JDBC_PASSWORD configuration property. |
void |
setJdbcUsername(java.lang.String jdbcUsername)
Sets the JDBC_USERNAME configuration property. |
void |
setLdapBaseDn(java.lang.String ldapBaseDn)
Sets the LDAP_BASE_DN configuration property. |
void |
setLdapBindDn(java.lang.String ldapBindDn)
Sets the LDAP_BIND_DN configuration property. |
void |
setLdapBindPassword(java.lang.String ldapBindPassword)
Sets the LDAP_BIND_PASSWORD configuration property. |
void |
setLdapEnabled(boolean ldapEnabled)
Sets the LDAP_ENABLED configuration property. |
void |
setLdapGroupBaseDn(java.lang.String ldapGroupBaseDn)
Sets the LDAP_GROUP_BASE_DN configuration property. |
void |
setLdapGroupMemberAttributeId(java.lang.String ldapGroupMemberAttributeId)
Sets the LDAP_GROUP_MEMBER_ATTRIBUTE_ID configuration property. |
void |
setLdapGroupNameAttributeId(java.lang.String ldapGroupNameAttributeId)
Sets the LDAP_GROUP_NAME_ATTRIBUTE_ID configuration property. |
void |
setLdapGroupToRoleMap(java.util.Map<java.lang.String,java.lang.String> ldapGroupToRoleMap)
Sets the LDAP_GROUP_TO_ROLE_MAP configuration property. |
void |
setLdapHostUrl(java.lang.String ldapHostUrl)
Sets the LDAP_HOST_URL configuration property. |
void |
setLdapSearchAttribute(java.lang.String ldapSearchAttribute)
Sets the LDAP_SEARCH_ATTRIBUTE configuration property. |
void |
setLdapUserGroupAttribute(java.lang.String ldapUserGroupAttribute)
Sets the LDAP_USER_GROUP_ATTRIBUTE configuration property. |
void |
setLdapUserGroupAttributeIsDn(boolean ldapUserGroupAttributeIsDn)
Sets the LDAP_USER_GROUP_ATTRIBUTE_IS_DN configuration property. |
void |
setLdapUserSearchModeEnabled(boolean ldapUserSearchModeEnabled)
Sets the LDAP_USER_SEARCH_MODE_ENABLED configuration property. |
void |
setLogExpiration(java.lang.String logExpiration)
Sets the LOG_EXPIRATION configuration property. |
void |
setLoggerType(LoggerType loggerType)
Sets the LOGGER_TYPE configuration property. |
void |
setLoggerTypes(java.util.Set<LoggerType> loggerTypes)
Sets the LOGGER_TYPES configuration property. |
void |
setMaxConnections(int maxConnections)
Sets the MAX_CONNECTIONS configuration property. |
void |
setOracleLargeObjectAdapter(java.lang.String adapterName)
Sets the ORACLE_LOB_SUPPORT_ADAPTER configuration property. |
void |
setPort(int port)
Sets the PORT configuration property. |
void |
setProviderUrl(java.lang.String providerUrl)
Sets the PROVIDER_URL configuration property. |
void |
setRunHistoryEnabled(boolean runHistoryEnabled)
Sets the RUN_HISTORY_ENABLED configuration property. |
void |
setRuntimeConfiguration(RuntimeConfigurationNode runtimeConfigurationNode)
Sets the RUNTIME_CONFIGURATION configuration property. |
void |
setRuntimeConfigurationFile(java.lang.String runtimeConfigurationFile)
Sets the RUNTIME_CONFIGURATION_FILE configuration property. |
void |
setRuntimeConfigurationFileRefreshFrequency(java.lang.String runtimeConfigurationFileRefreshFrequency)
Sets the RUNTIME_CONFIGURATION_FILE configuration property. |
void |
setScriptingLanguages(java.util.Map<java.lang.String,java.lang.String> scriptingLanguages)
Sets the SCRIPTING_LANGUAGES configuration property. |
void |
setSecurityEnabled(boolean securityEnabled)
Sets the SECURITY_ENABLED configuration property. |
void |
setServer(boolean server)
Sets the SERVER configuration property. |
void |
setSsl(boolean ssl)
Sets the SSL configuration property. |
void |
setSystemDelay(java.lang.String systemDelay)
Sets the SYSTEM_DELAY configuration property. |
void |
setSystemDelayMinimum(java.lang.String systemDelayMinimum)
Sets the SYSTEM_DELAY_MINIMUM configuration property. |
void |
setSystemLogger(java.lang.String systemLogger)
Sets the SYSTEM_LOGGER configuration property. |
void |
setSystemResourceCommand(java.lang.String systemResourceCommand)
Sets the SYSTEM_RESOURCE_COMMAND configuration property. |
void |
setSystemResourceInterval(java.lang.String systemResourceInterval)
Sets the SYSTEM_RESOURCE_INTERVAL configuration property. |
void |
setTablePrefix(java.lang.String tablePrefix)
Sets the TABLE_PREFIX configuration property. |
void |
setUrl(java.lang.String url)
Sets the URL configuration property. |
void |
setWorkManagerResourceName(java.lang.String workManagerResourceName)
Sets the WORK_MANAGER_RESOURCE_NAME configuration property. |
void |
verify()
Indicates whether this configuration is valid. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String AGENT_FAILOVER_TIME_WINDOW
public static final java.lang.String DEFAULT_AGENT_FAILOVER_TIME_WINDOW
public static final java.lang.String AUDIT_TRAIL_EXPIRATION
public static final java.lang.String DEFAULT_AUDIT_TRAIL_EXPIRATION
public static final java.lang.String AUDIT_TRAIL_FILTER
public static final java.lang.String DEFAULT_AUDIT_TRAIL_FILTER
public static final java.lang.String AUDIT_TRAIL_LOGGER
public static final java.lang.String DEFAULT_AUDIT_TRAIL_LOGGER
public static final java.lang.String AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED
public static final boolean DEFAULT_AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED
public static final java.lang.String CACHE_SIZE
public static final int DEFAULT_CACHE_SIZE
public static final java.lang.String CACHE_TYPE
CacheType
,
Constant Field Valuespublic static final CacheType DEFAULT_CACHE_TYPE
public static final java.lang.String CLIENT_LOGGER
public static final java.lang.String DAILY_MAINTENANCE_TIME
public static final java.lang.String DEFAULT_DAILY_MAINTENANCE_TIME
public static final java.lang.String DEFAULT_CLIENT_LOGGER
public static final java.lang.String CLUSTER_NETWORKING_ENABLED
public static final boolean DEFAULT_CLUSTER_NETWORKING_ENABLED
public static final java.lang.String CONCURRENCY_LEVEL
RUNTIME_CONFIGURATION
,
Constant Field Valuespublic static final java.lang.String DATA_SOURCE
public static final java.lang.String DATA_SOURCE_CACHING
public static final boolean DEFAULT_DATA_SOURCE_CACHING
public static final java.lang.String DATA_SOURCE_AUTO_COMMIT_CHECK
public static final boolean DEFAULT_DATA_SOURCE_AUTO_COMMIT_CHECK
public static final java.lang.String DATA_SOURCE_PASSWORD
public static final java.lang.String DEFAULT_DATA_SOURCE_PASSWORD
public static final java.lang.String DATA_SOURCE_USERNAME
public static final java.lang.String DEFAULT_DATA_SOURCE_USERNAME
public static final java.lang.String DATA_SOURCE_USER_TRANSACTIONS
public static final boolean DEFAULT_DATA_SOURCE_USER_TRANSACTIONS
public static final java.lang.String DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME
public static final java.lang.String DEFAULT_DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME
public static final java.lang.String DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME
public static final java.lang.String DEFAULT_DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME
public static final java.lang.String DATA_SOURCE_USER_TRANSACTION_TIMEOUT
public static final java.lang.String DEFAULT_DATA_SOURCE_USER_TRANSACTION_TIMEOUT
public static final java.lang.String DATABASE_PROPERTIES
public static final java.lang.String DATABASE_TYPE
public static final DatabaseType DEFAULT_DATABASE_TYPE
public static final java.lang.String DRIVER
public static final java.lang.String ENGINE_CONTENTS_SUMMARY_FREQUENCY
HEARTBEAT_FREQUENCY
,
Constant Field Valuespublic static final java.lang.String DEFAULT_ENGINE_CONTENTS_SUMMARY_FREQUENCY
public static final java.lang.String FAILOVER_TIME_WINDOW
public static final java.lang.String DEFAULT_FAILOVER_TIME_WINDOW
public static final java.lang.String HEARTBEAT_FREQUENCY
ENGINE_CONTENTS_SUMMARY_FREQUENCY
,
Constant Field Valuespublic static final java.lang.String DEFAULT_HEARTBEAT_FREQUENCY
public static final java.lang.String INITIAL_CONTEXT_FACTORY
public static final java.lang.String HOST
public static final java.lang.String INITIAL_CONTEXT_PASSWORD
public static final java.lang.String DEFAULT_INITIAL_CONTEXT_PASSWORD
public static final java.lang.String INITIAL_CONTEXT_USERNAME
public static final java.lang.String DEFAULT_INITIAL_CONTEXT_USERNAME
public static final java.lang.String JDBC_CONNECTION_RECYCLE_FREQUENCY
public static final java.lang.String DEFAULT_JDBC_CONNECTION_RECYCLE_FREQUENCY
public static final java.lang.String JDBC_PASSWORD
public static final java.lang.String JDBC_ENCRYPTED_PASSWORD
Factory.makeEncryptedPassword(String)
,
Constant Field Valuespublic static final java.lang.String DEFAULT_JDBC_ENCRYPTED_PASSWORD
public static final java.lang.String DEFAULT_JDBC_PASSWORD
public static final java.lang.String JDBC_USERNAME
public static final java.lang.String DEFAULT_JDBC_USERNAME
public static final java.lang.String FAIRNESS_TIME_WINDOW
RuntimeConfigurationNode.PRIORITY
,
Constant Field Valuespublic static final java.lang.String FILE_TRANSFER_DEBUG
public static final boolean DEFAULT_FILE_TRANSFER_DEBUG
public static final java.lang.String FLOW_CHART_DEADLINES_ENABLED
DeadlineApproachingEvent
,
DeadlineExceededEvent
,
Constant Field Valuespublic static final boolean DEFAULT_FLOW_CHART_DEADLINES_ENABLED
public static final java.lang.String FLOW_CHART_LOGGER
public static final java.lang.String DEFAULT_FLOW_CHART_LOGGER
public static final java.lang.String ID_DESCRIPTION
public static final java.lang.String ID_NAME
public static final java.lang.String INTERNAL_LOGGER_LEVEL
public static final Level DEFAULT_INTERNAL_LOGGER_LEVEL
public static final java.lang.String INTERNAL_LOGGER_FILE_DIRECTORY
public static final java.lang.String DEFAULT_INTERNAL_LOGGER_FILE_DIRECTORY
public static final java.lang.String INTERNAL_LOGGER_FILE_ROTATION_SIZE
public static final long DEFAULT_INTERNAL_LOGGER_FILE_ROTATION_SIZE
public static java.lang.String LDAP_ENABLED
public static final boolean DEFAULT_LDAP_ENABLED
public static java.lang.String LDAP_HOST_URL
public static final java.lang.String LDAP_BASE_DN
public static final java.lang.String LDAP_BIND_DN
public static final java.lang.String LDAP_BIND_PASSWORD
public static final java.lang.String LDAP_SEARCH_ATTRIBUTE
public static final java.lang.String LDAP_USER_SEARCH_MODE_ENABLED
public static final boolean DEFAULT_LDAP_USER_SEARCH_MODE_ENABLED
public static final java.lang.String LDAP_USER_GROUP_ATTRIBUTE
public static final java.lang.String LDAP_USER_GROUP_ATTRIBUTE_IS_DN
public static final boolean DEFAULT_LDAP_USER_GROUP_ATTRIBUTE_IS_DN
public static final java.lang.String LDAP_GROUP_NAME_ATTRIBUTE_ID
public static final java.lang.String LDAP_GROUP_BASE_DN
public static final java.lang.String LDAP_GROUP_MEMBER_ATTRIBUTE_ID
public static final java.lang.String LDAP_GROUP_TO_ROLE_MAP
LDAP_GROUP_TO_ROLE_MAP.1.group=My Group In LDAP LDAP_GROUP_TO_ROLE_MAP.1.role=My Role In Flux LDAP_GROUP_TO_ROLE_MAP.2.group=AnotherGroupInLDAP LDAP_GROUP_TO_ROLE_MAP.2.role=AnotherRoleInFluxIn this configuration property file format, if the same LDAP group is mapped to two different Flux roles, one of the Flux roles is selected arbitrarily.
public static final java.util.Map<java.lang.String,java.lang.String> DEFAULT_LDAP_GROUP_TO_ROLE_MAP
public static final java.lang.String LOG_EXPIRATION
public static final java.lang.String DEFAULT_LOG_EXPIRATION
public static final java.lang.String LOGGER_TYPE
LoggerType
,
LOGGER_TYPES
,
Constant Field Valuespublic static final LoggerType DEFAULT_LOGGER_TYPE
LoggerType.INTERNAL_ASYNCHRONOUS
public static final java.lang.String LOGGER_TYPES
LoggerType
,
LOGGER_TYPE
,
Constant Field Valuespublic static final java.util.Set<LoggerType> DEFAULT_LOGGER_TYPES
LoggerType.INTERNAL_ASYNCHRONOUS
public static final java.lang.String MAX_CONNECTIONS
public static final int DEFAULT_MAX_CONNECTIONS
public static final java.lang.String ORACLE_LARGE_OBJECT_ADAPTER
OracleLargeObjectAdapter
,
Constant Field Valuespublic static final java.lang.String PORT
public static final int DEFAULT_PORT
public static final java.lang.String PROVIDER_URL
public static final java.lang.String RUN_HISTORY_ENABLED
FlowChartRun
,
ActionHistory
,
Constant Field Valuespublic static final boolean DEFAULT_RUN_HISTORY_ENABLED
public static final java.lang.String RUNTIME_CONFIGURATION
Engine.getRuntimeConfiguration()
,
Engine.setRuntimeConfiguration(flux.runtimeconfiguration.RuntimeConfigurationNode)
,
Constant Field Valuespublic static final RuntimeConfigurationNode DEFAULT_RUNTIME_CONFIGURATION
public static final java.lang.String RUNTIME_CONFIGURATION_FILE
public static final java.lang.String RUNTIME_CONFIGURATION_FILE_REFRESH_FREQUENCY
public static final java.lang.String DEFAULT_RUNTIME_CONFIGURATION_FILE_REFRESH_FREQUENCY
public static final java.lang.String SCRIPTING_LANGUAGES
Action.getPostscript()
,
Action.getPrescript()
,
Constant Field Valuespublic static final java.util.Map<java.lang.String,java.lang.String> DEFAULT_SCRIPTING_LANGUAGES
public static final java.lang.String SECURITY_ENABLED
public static final boolean DEFAULT_SECURITY_ENABLED
public static final java.lang.String SERVER
public static final boolean DEFAULT_SERVER
public static final java.lang.String SSL
public static final boolean DEFAULT_SSL
public static final java.lang.String SYSTEM_LOGGER
public static final java.lang.String DEFAULT_SYSTEM_LOGGER
public static final java.lang.String SYSTEM_DELAY
public static final java.lang.String DEFAULT_SYSTEM_DELAY
public static final java.lang.String SYSTEM_DELAY_MINIMUM
public static final java.lang.String DEFAULT_SYSTEM_DELAY_MINIMUM
public static final java.lang.String SYSTEM_RESOURCE_COMMAND
SYSTEM_RESOURCE_INTERVAL
,
Constant Field Valuespublic static final java.lang.String DEFAULT_SYSTEM_RESOURCE_COMMAND
public static final java.lang.String SYSTEM_RESOURCE_INTERVAL
public static final java.lang.String DEFAULT_SYSTEM_RESOURCE_INTERVAL
public static final java.lang.String TABLE_PREFIX
public static final java.lang.String DEFAULT_TABLE_PREFIX
public static final java.lang.String URL
public static final java.lang.String WORK_MANAGER_RESOURCE_NAME
Constructor Detail |
---|
public Configuration()
Configuration config = new Configuration(); config.setConcurrencyLevel(25);
public Configuration(java.util.Properties properties) throws EngineException
Properties props = new Properties(); props.setProperty(Configuration.CONCURRENCY_LEVEL, "25"); Configuration config = new Configuration(props);
properties
- A specification of how to make an engine using
configuration properties keys and values.
EngineException
- If the configuration is illegal.public Configuration(java.lang.String propertiesFile) throws EngineException
database_type=mysql concurrency_level=25
propertiesFile
- A file name for a configuration properties file.
EngineException
- If the configuration is illegal or an error occurs
while reading the configuration properties file.Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- If an error occurs.public java.lang.String getAgentFailoverTimeWindow()
AGENT_FAILOVER_TIME_WINDOW
public java.lang.String getAuditTrailExpiration()
AUDIT_TRAIL_EXPIRATION
public java.util.Set<java.lang.String> getAuditTrailFilter()
AUDIT_TRAIL_FILTER
public java.lang.String getAuditTrailLogger()
AUDIT_TRAIL_LOGGER
public boolean getAuditTrailRollbackRecordingsEnabled()
AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED
public int getCacheSize()
CACHE_SIZE
public CacheType getCacheType()
CACHE_TYPE
public java.lang.String getClientLogger()
CLIENT_LOGGER
public boolean getClusterNetworkingEnabled()
CLUSTER_NETWORKING_ENABLED
public int getConcurrencyLevel()
CONCURRENCY_LEVEL
public java.lang.String getDailyMaintenanceTime()
DAILY_MAINTENANCE_TIME
public java.lang.String getDataSource()
DATA_SOURCE
public boolean getDataSourceAutoCommitCheck()
DATA_SOURCE_AUTO_COMMIT_CHECK
public boolean getDataSourceCaching()
DATA_SOURCE_CACHING
public java.lang.String getDataSourcePassword()
DATA_SOURCE_PASSWORD
public java.lang.String getDataSourceUserTransactionClientJndiName()
DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME
public java.lang.String getDataSourceUserTransactionServerJndiName()
DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME
public java.lang.String getDataSourceUserTransactionTimeout()
DATA_SOURCE_USER_TRANSACTION_TIMEOUT
public boolean getDataSourceUserTransactions()
DATA_SOURCE_USER_TRANSACTIONS
public java.lang.String getDataSourceUsername()
DATA_SOURCE_USERNAME
public java.util.Properties getDatabaseProperties()
DATABASE_PROPERTIES
public DatabaseType getDatabaseType()
DATABASE_TYPE
public java.lang.String getDriver()
DRIVER
public java.lang.String getEngineContentsSummaryFrequency()
ENGINE_CONTENTS_SUMMARY_FREQUENCY
public java.lang.String getFailoverTimeWindow()
FAILOVER_TIME_WINDOW
public java.lang.String getFairnessTimeWindow()
FAIRNESS_TIME_WINDOW
public boolean getFileTransferDebug()
FILE_TRANSFER_DEBUG
public boolean getFlowChartDeadlinesEnabled()
FLOW_CHART_DEADLINES_ENABLED
public java.lang.String getFlowChartLogger()
FLOW_CHART_LOGGER
public java.lang.String getHeartbeatFrequency()
HEARTBEAT_FREQUENCY
public java.lang.String getHost()
HOST
public java.lang.String getIdDescription()
ID_DESCRIPTION
public java.lang.String getIdName()
ID_NAME
public java.lang.String getInitialContextFactory()
INITIAL_CONTEXT_FACTORY
public java.lang.String getInitialContextPassword()
INITIAL_CONTEXT_PASSWORD
public java.lang.String getInitialContextUsername()
INITIAL_CONTEXT_USERNAME
public java.lang.String getInternalLoggerFileDirectory()
INTERNAL_LOGGER_FILE_DIRECTORY
public long getInternalLoggerFileRotationSize()
INTERNAL_LOGGER_FILE_ROTATION_SIZE
public Level getInternalLoggerLevel()
INTERNAL_LOGGER_LEVEL
public java.lang.String getJdbcConnectionRecycleFrequency()
JDBC_CONNECTION_RECYCLE_FREQUENCY
public java.lang.String getJdbcEncryptedPassword()
JDBC_ENCRYPTED_PASSWORD
public java.lang.String getJdbcPassword()
JDBC_PASSWORD
public java.lang.String getJdbcUsername()
JDBC_USERNAME
public boolean getLdapEnabled()
LDAP_ENABLED
public java.lang.String getLdapHostUrl()
LDAP_HOST_URL
public java.lang.String getLdapBaseDn()
LDAP_BASE_DN
public java.lang.String getLdapBindDn()
LDAP_BIND_DN
public java.lang.String getLdapBindPassword()
LDAP_BIND_PASSWORD
public java.lang.String getLdapSearchAttribute()
LDAP_SEARCH_ATTRIBUTE
public boolean getLdapUserSearchModeEnabled()
LDAP_USER_SEARCH_MODE_ENABLED
public java.lang.String getLdapUserGroupAttribute()
LDAP_USER_GROUP_ATTRIBUTE
public boolean getLdapUserGroupAttributeIsDn()
LDAP_USER_GROUP_ATTRIBUTE_IS_DN
public java.lang.String getLdapGroupNameAttributeId()
LDAP_GROUP_NAME_ATTRIBUTE_ID
public java.lang.String getLdapGroupBaseDn()
LDAP_GROUP_BASE_DN
public java.lang.String getLdapGroupMemberAttributeId()
LDAP_GROUP_MEMBER_ATTRIBUTE_ID
public java.util.Map<java.lang.String,java.lang.String> getLdapGroupToRoleMap()
LDAP_GROUP_TO_ROLE_MAP
public java.lang.String getLogExpiration()
LOG_EXPIRATION
public LoggerType getLoggerType()
LOGGER_TYPE
public java.util.Set<LoggerType> getLoggerTypes()
LOGGER_TYPES
public int getMaxConnections()
MAX_CONNECTIONS
public java.lang.String getOracleLargeObjectAdapter()
ORACLE_LARGE_OBJECT_ADAPTER
public int getPort()
PORT
public java.lang.String getProviderUrl()
PROVIDER_URL
public boolean getRunHistoryEnabled()
RUN_HISTORY_ENABLED
public RuntimeConfigurationNode getRuntimeConfiguration()
RUNTIME_CONFIGURATION
public java.lang.String getRuntimeConfigurationFile()
RUNTIME_CONFIGURATION_FILE
public java.lang.String getRuntimeConfigurationFileRefreshFrequency()
RUNTIME_CONFIGURATION_FILE_REFRESH_FREQUENCY
public java.util.Map<java.lang.String,java.lang.String> getScriptingLanguages()
SCRIPTING_LANGUAGES
public boolean getSecurityEnabled()
SECURITY_ENABLED
public boolean getServer()
SERVER
public boolean getSsl()
SSL
public java.lang.String getSystemDelay()
SYSTEM_DELAY
public java.lang.String getSystemDelayMinimum()
SYSTEM_DELAY_MINIMUM
public java.lang.String getSystemLogger()
SYSTEM_LOGGER
public java.lang.String getSystemResourceCommand()
SYSTEM_RESOURCE_COMMAND
public java.lang.String getSystemResourceInterval()
SYSTEM_RESOURCE_INTERVAL
public java.lang.String getTablePrefix()
TABLE_PREFIX
public java.lang.String getUrl()
URL
public java.lang.String getWorkManagerResourceName()
WORK_MANAGER_RESOURCE_NAME
public void setAgentFailoverTimeWindow(java.lang.String agentFailoverTimeWindow)
agentFailoverTimeWindow
- Sets the AGENT_FAILOVER_TIME_WINDOW
configuration property.AGENT_FAILOVER_TIME_WINDOW
public void setAuditTrailExpiration(java.lang.String auditTrailExpiration)
auditTrailExpiration
- Sets the AUDIT_TRAIL_EXPIRATION configuration
property.AUDIT_TRAIL_EXPIRATION
public void setAuditTrailFilter(java.util.Set<java.lang.String> auditTrailFilter)
auditTrailFilter
- The AUDIT_TRAIL_FILTER configuration property.AUDIT_TRAIL_FILTER
public void setAuditTrailLogger(java.lang.String auditTrailLogger)
auditTrailLogger
- The AUDIT_TRAIL_LOGGER configuration property.AUDIT_TRAIL_LOGGER
public void setAuditTrailRollbackRecordingsEnabled(boolean auditTrailRollbackRecordingsEnabled)
auditTrailRollbackRecordingsEnabled
- The AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED configuration
property.AUDIT_TRAIL_ROLLBACK_RECORDINGS_ENABLED
public void setCacheSize(int cacheSize)
cacheSize
- The CACHE_SIZE configuration property.CACHE_SIZE
public void setCacheType(CacheType cacheType)
cacheType
- The CACHE_TYPE configuration property.CACHE_TYPE
public void setClientLogger(java.lang.String clientLogger)
clientLogger
- The CLIENT_LOGGER configuration property.CLIENT_LOGGER
public void setClusterNetworkingEnabled(boolean clusterNetworkingEnabled)
clusterNetworkingEnabled
- The CLUSTER_NETWORKING_ENABLED
configuration property.CLUSTER_NETWORKING_ENABLED
public void setConcurrencyLevel(int concurrencyLevel)
concurrencyLevel
- The CONCURRENCY_LEVEL configuration property.CONCURRENCY_LEVEL
public void setDailyMaintenanceTime(java.lang.String dailyMaintenanceTime)
dailyMaintenanceTime
- The DAILY_MAINTENANCE_TIME configuration
property.DAILY_MAINTENANCE_TIME
public void setDataSource(java.lang.String dataSource)
dataSource
- The DATA_SOURCE configuration property.DATA_SOURCE
public void setDataSourceAutoCommitCheck(boolean dataSourceAutoCommitCheck)
dataSourceAutoCommitCheck
- Sets the DATA_SOURCE_AUTO_COMMIT_CHECK
configuration setting.DATA_SOURCE_AUTO_COMMIT_CHECK
public void setDataSourceCaching(boolean dataSourceCaching)
dataSourceCaching
- The DATA_SOURCE_CACHING configuration property.DATA_SOURCE_CACHING
public void setDataSourcePassword(java.lang.String dataSourcePassword)
dataSourcePassword
- The DATA_SOURCE_PASSWORD configuration property.DATA_SOURCE_PASSWORD
public void setDataSourceUserTransactionClientJndiName(java.lang.String dataSourceUserTransactionClientJndiName)
dataSourceUserTransactionClientJndiName
- The DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME configuration
setting.DATA_SOURCE_USER_TRANSACTION_CLIENT_JNDI_NAME
public void setDataSourceUserTransactionServerJndiName(java.lang.String dataSourceUserTransactionServerJndiName)
dataSourceUserTransactionServerJndiName
- The DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME configuration
setting.DATA_SOURCE_USER_TRANSACTION_SERVER_JNDI_NAME
public void setDataSourceUserTransactionTimeout(java.lang.String transactionTimeout)
transactionTimeout
- The DATA_SOURCE_USER_TRANSACTION_TIMEOUT
configuration property.DATA_SOURCE_USER_TRANSACTION_TIMEOUT
public void setDataSourceUserTransactions(boolean dataSourceUserTransactions)
dataSourceUserTransactions
- The DATA_SOURCE_USER_TRANSACTIONS
configuration property.DATA_SOURCE_USER_TRANSACTIONS
public void setDataSourceUsername(java.lang.String dataSourceUsername)
dataSourceUsername
- The DATA_SOURCE_USERNAME configuration property.DATA_SOURCE_USERNAME
public void setDatabaseProperties(java.util.Properties databaseProperties)
databaseProperties
- The DATABASE_PROPERTIES configuration property.DATABASE_PROPERTIES
public void setDatabaseProperties(java.lang.String databasePropertiesFile) throws EngineException
databasePropertiesFile
- Path to a database properties file.
EngineException
- If an error occurs while reading the database
properties file.DATABASE_PROPERTIES
public void setDatabaseType(DatabaseType databaseType)
databaseType
- The DATABASE_TYPE configuration property.DATABASE_TYPE
public void setDriver(java.lang.String driver)
driver
- The DRIVER configuration property.DRIVER
public void setEngineContentsSummaryFrequency(java.lang.String engineContentsStatusFrequency)
engineContentsStatusFrequency
- The ENGINE_CONTENTS_SUMMARY_FREQUENCY
configuration property, which may be
null, but not empty.ENGINE_CONTENTS_SUMMARY_FREQUENCY
public void setFailoverTimeWindow(java.lang.String failoverTimeWindow)
failoverTimeWindow
- The FAILOVER_TIME_WINDOW configuration property.FAILOVER_TIME_WINDOW
public void setFairnessTimeWindow(java.lang.String fairnessTimeWindow)
fairnessTimeWindow
- The FAIRNESS_TIME_WINDOW configuration property.FAIRNESS_TIME_WINDOW
public void setFileTransferDebug(boolean fileTransferDebug)
fileTransferDebug
- The FILE_TRANSFER_DEBUG configuration property.FILE_TRANSFER_DEBUG
public void setFlowChartDeadlinesEnabled(boolean flowChartDeadlinesEnabled)
flowChartDeadlinesEnabled
- The FLOW_CHART_DEADLINES_ENABLED
configuration property.FLOW_CHART_DEADLINES_ENABLED
public void setFlowChartLogger(java.lang.String flowChartLogger)
flowChartLogger
- The FLOW_CHART_LOGGER configuration property.FLOW_CHART_LOGGER
public void setHeartbeatFrequency(java.lang.String heartbeatFrequency)
heartbeatFrequency
- The HEARTBEAT_FREQUENCY configuration property,
which may be null, but not empty.HEARTBEAT_FREQUENCY
public void setHost(java.lang.String host)
host
- The HOST configuration property, which may not be null or
empty.HOST
public void setIdDescription(java.lang.String idDescription)
idDescription
- The ID_DESCRIPTION configuration property.ID_DESCRIPTION
public void setIdName(java.lang.String idName)
idName
- The ID_NAME configuration property.ID_NAME
public void setInitialContextFactory(java.lang.String initialContextFactory)
initialContextFactory
- The INITIAL_CONTEXT_FACTORY configuration
setting.INITIAL_CONTEXT_FACTORY
public void setInitialContextPassword(java.lang.String initialContextPassword)
initialContextPassword
- The INITIAL_CONTEXT_PASSWORD configuration
setting.INITIAL_CONTEXT_PASSWORD
public void setInitialContextUsername(java.lang.String initialContextUsername)
initialContextUsername
- The INITIAL_CONTEXT_USERNAME configuration
setting.INITIAL_CONTEXT_USERNAME
public void setInternalLoggerFileDirectory(java.lang.String internalLoggerFileDirectory)
internalLoggerFileDirectory
- The INTERNAL_LOGGER_FILE_DIRECTORY
configuration property.INTERNAL_LOGGER_FILE_DIRECTORY
public void setInternalLoggerFileRotationSize(long internalLoggerFileRotationSize)
internalLoggerFileRotationSize
- The INTERNAL_LOGGER_FILE_ROTATION_SIZE
configuration property.INTERNAL_LOGGER_FILE_ROTATION_SIZE
public void setInternalLoggerLevel(Level internalLoggerLevel)
internalLoggerLevel
- The INTERNAL_LOGGER_LEVEL configuration
property.INTERNAL_LOGGER_LEVEL
public void setJdbcConnectionRecycleFrequency(java.lang.String jdbcConnectionRecycleFrequency)
jdbcConnectionRecycleFrequency
- The JDBC_CONNECTION_RECYCLE_FREQUENCY
configuration property.JDBC_CONNECTION_RECYCLE_FREQUENCY
public void setJdbcEncryptedPassword(java.lang.String jdbcEncryptedPassword)
jdbcEncryptedPassword
- The JDBC_ENCRYPTED_PASSWORD configuration
property.JDBC_ENCRYPTED_PASSWORD
,
JDBC_PASSWORD
public void setJdbcPassword(java.lang.String jdbcPassword)
jdbcPassword
- The JDBC_PASSWORD configuration property.JDBC_PASSWORD
public void setJdbcUsername(java.lang.String jdbcUsername)
jdbcUsername
- The JDBC_USERNAME configuration property.JDBC_USERNAME
public void setLdapEnabled(boolean ldapEnabled)
ldapEnabled
- The LDAP_ENABLED configuration property.LDAP_ENABLED
public void setLdapHostUrl(java.lang.String ldapHostUrl)
ldapHostUrl
- The LDAP_HOST_URL configuration property.LDAP_HOST_URL
public void setLdapBaseDn(java.lang.String ldapBaseDn)
ldapBaseDn
- The LDAP_BASE_DN configuration property.LDAP_BASE_DN
public void setLdapBindDn(java.lang.String ldapBindDn)
ldapBindDn
- The LDAP_BIND_DN configuration property.LDAP_BIND_DN
public void setLdapBindPassword(java.lang.String ldapBindPassword)
ldapBindPassword
- The LDAP_BIND_PASSWORD configuration property.LDAP_BIND_PASSWORD
public void setLdapSearchAttribute(java.lang.String ldapSearchAttribute)
ldapSearchAttribute
- The LDAP_SEARCH_ATTRIBUTE configuration
property.LDAP_SEARCH_ATTRIBUTE
public void setLdapUserSearchModeEnabled(boolean ldapUserSearchModeEnabled)
ldapUserSearchModeEnabled
- The LDAP_USER_SEARCH_MODE_ENABLED
configuration property.LDAP_USER_SEARCH_MODE_ENABLED
public void setLdapUserGroupAttribute(java.lang.String ldapUserGroupAttribute)
ldapUserGroupAttribute
- The LDAP_USER_GROUP_ATTRIBUTE configuration
property.LDAP_USER_GROUP_ATTRIBUTE
public void setLdapUserGroupAttributeIsDn(boolean ldapUserGroupAttributeIsDn)
ldapUserGroupAttributeIsDn
- The LDAP_USER_GROUP_ATTRIBUTE_IS_DN
configuration property.LDAP_USER_GROUP_ATTRIBUTE_IS_DN
public void setLdapGroupNameAttributeId(java.lang.String ldapGroupNameAttributeId)
ldapGroupNameAttributeId
- The LDAP_GROUP_NAME_ATTRIBUTE_ID
configuration property.LDAP_GROUP_NAME_ATTRIBUTE_ID
public void setLdapGroupBaseDn(java.lang.String ldapGroupBaseDn)
ldapGroupBaseDn
- The LDAP_GROUP_BASE_DN configuration property.LDAP_GROUP_BASE_DN
public void setLdapGroupMemberAttributeId(java.lang.String ldapGroupMemberAttributeId)
ldapGroupMemberAttributeId
- The LDAP_GROUP_MEMBER_ATTRIBUTE_ID
configuration property.LDAP_GROUP_MEMBER_ATTRIBUTE_ID
public void setLdapGroupToRoleMap(java.util.Map<java.lang.String,java.lang.String> ldapGroupToRoleMap)
ldapGroupToRoleMap
- The LDAP_GROUP_TO_ROLE_MAP configuration
property.LDAP_GROUP_TO_ROLE_MAP
public void setLogExpiration(java.lang.String logExpiration)
logExpiration
- The LOG_EXPIRATION configuration property.LOG_EXPIRATION
public void setLoggerType(LoggerType loggerType)
loggerType
- The LOGGER_TYPE configuration property.LOGGER_TYPE
public void setLoggerTypes(java.util.Set<LoggerType> loggerTypes) throws java.lang.IllegalArgumentException
loggerTypes
- The LOGGER_TYPES configuration property.
java.lang.IllegalArgumentException
- If loggerTypes includes both the
INTERNAL_ASYNCHRONOUS and INTERNAL_SYNCHRONOUS
loggers or if loggerTypes includes the
NULL logger with any other logger.LOGGER_TYPES
public void setMaxConnections(int maxConnections)
maxConnections
- The MAX_CONNECTIONS configuration property.MAX_CONNECTIONS
public void setOracleLargeObjectAdapter(java.lang.String adapterName)
adapterName
- The ORACLE_LOB_SUPPORT_ADAPTER configuration property.ORACLE_LARGE_OBJECT_ADAPTER
public void setPort(int port)
port
- The PORT configuration property.PORT
public void setProviderUrl(java.lang.String providerUrl)
providerUrl
- The PROVIDER_URL configuration property.PROVIDER_URL
public void setRunHistoryEnabled(boolean runHistoryEnabled)
runHistoryEnabled
- The RUN_HISTORY_ENABLED configuration setting.RUN_HISTORY_ENABLED
public void setRuntimeConfiguration(RuntimeConfigurationNode runtimeConfigurationNode)
runtimeConfigurationNode
- The RUNTIME_CONFIGURATION configuration
setting.RUNTIME_CONFIGURATION
public void setRuntimeConfigurationFile(java.lang.String runtimeConfigurationFile)
runtimeConfigurationFile
- The RUNTIME_CONFIGURATION_FILE
configuration property.RUNTIME_CONFIGURATION_FILE
public void setRuntimeConfigurationFileRefreshFrequency(java.lang.String runtimeConfigurationFileRefreshFrequency)
runtimeConfigurationFileRefreshFrequency
- The RUNTIME_CONFIGURATION_FILE_REFRESH_FREQUENCY configuration
setting.RUNTIME_CONFIGURATION_FILE_REFRESH_FREQUENCY
public void setScriptingLanguages(java.util.Map<java.lang.String,java.lang.String> scriptingLanguages)
scriptingLanguages
- Map of String to String. The SCRIPTING_LANGUAGES
configuration property.SCRIPTING_LANGUAGES
public void setSecurityEnabled(boolean securityEnabled)
securityEnabled
- The SECURITY_ENABLED configuration property.SECURITY_ENABLED
public void setServer(boolean server)
server
- The SERVER configuration property.SERVER
public void setSsl(boolean ssl)
ssl
- The SSL configuration property.SSL
public void setSystemDelay(java.lang.String systemDelay)
systemDelay
- The SYSTEM_DELAY configuration property.SYSTEM_DELAY
public void setSystemDelayMinimum(java.lang.String systemDelayMinimum)
systemDelayMinimum
- The SYSTEM_DELAY_MINIMUM configuration property.SYSTEM_DELAY_MINIMUM
public void setSystemLogger(java.lang.String systemLogger)
systemLogger
- The SYSTEM_LOGGER configuration property.SYSTEM_LOGGER
public void setSystemResourceCommand(java.lang.String systemResourceCommand)
systemResourceCommand
- - The SYSTEM_RESOURCE_COMMAND configuration
property.SYSTEM_RESOURCE_COMMAND
public void setSystemResourceInterval(java.lang.String systemResourceInterval)
systemResourceInterval
- - The SYSTEM_RESOURCE_INTERVAL configuration
property.SYSTEM_RESOURCE_INTERVAL
public void setTablePrefix(java.lang.String tablePrefix)
tablePrefix
- The TABLE_PREFIX configuration property.TABLE_PREFIX
public void setUrl(java.lang.String url)
url
- The URL configuration property.URL
public void setWorkManagerResourceName(java.lang.String workManagerResourceName)
workManagerResourceName
- The WORK_MANAGER_RESOURCE_NAME configuration
property.WORK_MANAGER_RESOURCE_NAME
public void verify() throws EngineException
EngineException
- If this configuration is not valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |