Package org.flowable.common.engine.impl
Class AbstractEngineConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfiguration
- Direct Known Subclasses:
CmmnEngineConfiguration
,DmnEngineConfiguration
,EventRegistryEngineConfiguration
,IdmEngineConfiguration
,ProcessEngineConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<EventDispatchAction>
protected Collection<AgendaOperationExecutionListener>
protected AgendaOperationRunner
protected List<EngineConfigurator>
protected boolean
Set to true if the latest version of a definition should be retrieved, ignoring a possible parent deployment id valueprotected ByteArrayDataManager
protected ByteArrayEntityManager
protected ClassLoader
protected Clock
protected CommandContextFactory
protected CommandExecutor
protected List<CommandInterceptor>
protected CommandInterceptor
protected SchemaManager
protected List<EngineConfigurator>
protected List<org.apache.ibatis.plugin.Interceptor>
protected List<CommandInterceptor>
protected List<EngineDeployer>
protected List<CommandInterceptor>
protected List<EngineDeployer>
protected List<SessionFactory>
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected String
database catalog to useprotected String
In some situations you want to set the schema to use for table checks / generation if the database metadata doesn't return that correctly, see https://jira.codehaus.org/browse/ACT-1220, https://jira.codehaus.org/browse/ACT-1062protected String
protected String
Allows configuring a database table prefix which is used for all runtime operations of the process engine.protected String
protected Properties
protected String
Escape character for doing wildcard searches.protected DataSource
protected String
static final String
static final String
static final String
Creates the schema when the form engine is being created and drops the schema when the form engine is being closed.static final String
Checks the version of the DB schema against the library when the form engine is being created and throws an exception if the versions don't match.static final String
Upon building of the process engine, a check is performed and an update of the schema is performed if it is necessary.protected DbSqlSessionFactory
static final int
int
static final int
protected CommandConfig
protected Collection<? extends CommandInterceptor>
protected DefaultTenantProvider
Default tenant provider that is executed when looking up definitions, in case the global or local fallback to default tenant value is trueprotected List<MybatisTypeAliasConfigurator>
protected List<MybatisTypeHandlerConfigurator>
protected List<EngineDeployer>
protected boolean
protected boolean
protected boolean
Enables the MyBatis plugin that logs the execution time of sql statements.protected Map<String,
AbstractEngineConfiguration> protected List<EngineLifecycleListener>
protected FlowableEventDispatcher
protected List<FlowableEventListener>
protected EngineConfigurator
protected Map<String,
EventRegistryEventConsumer> protected boolean
Set to true if by default lookups should fallback to the default tenant (an empty string by default or a defined tenant value)protected boolean
protected IdGenerator
protected EngineConfigurator
protected boolean
If set to true, enables bulk insert (grouping sql inserts together).protected boolean
protected int
protected String
protected int
protected int
protected int
protected int
protected String
protected int
protected boolean
protected String
protected String
protected String
protected Duration
Duration between the checks when acquiring a lock.protected final org.slf4j.Logger
protected LoggingListener
protected int
Define a max length for storing String variable types in the database.protected int
Some databases have a limit of how many parameters one sql insert can have (eg SQL Server, 2000 params (!= insert statements) ).protected String
static final String
The tenant id indicating 'no tenant'protected com.fasterxml.jackson.databind.ObjectMapper
static final String
static final String
protected PropertyDataManager
protected PropertyEntityManager
protected CommandConfig
protected Duration
Duration to wait for the DB Schema lock before giving up.protected SchemaManager
protected Map<String,
AbstractServiceConfiguration> protected Map<Class<?>,
SessionFactory> protected org.apache.ibatis.session.SqlSessionFactory
protected TableDataManager
protected boolean
Set to true in case the defined databaseTablePrefix is a schema-name, instead of an actual table name prefix.protected TransactionContextFactory
protected org.apache.ibatis.transaction.TransactionFactory
protected boolean
protected Map<String,
List<FlowableEventListener>> protected boolean
Either use Class.forName or ClassLoader.loadClass for class loading.protected boolean
Whether to use a lock when performing the database schema create or update operations.protected boolean
protected boolean
Flag that can be set to configure or not a relational database is used.protected boolean
Flag that can be set to configure whether or not a schema is used.protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigurator
(EngineConfigurator configurator) addCustomPostCommandInterceptor
(CommandInterceptor commandInterceptor) addCustomPreCommandInterceptor
(CommandInterceptor commandInterceptor) addCustomSessionFactory
(SessionFactory sessionFactory) void
addEngineConfiguration
(String key, String scopeType, AbstractEngineConfiguration engineConfiguration) void
addEngineLifecycleListener
(EngineLifecycleListener engineLifecycleListener) void
addEventRegistryEventConsumer
(String key, EventRegistryEventConsumer eventRegistryEventConsumer) void
addServiceConfiguration
(String key, AbstractServiceConfiguration serviceConfiguration) void
addSessionFactory
(SessionFactory sessionFactory) protected void
applyCustomMybatisCustomizations
(org.apache.ibatis.session.Configuration configuration) void
close()
void
void
abstract CommandInterceptor
protected void
defaultInitDbSqlSessionFactoryEntitySettings
(List<Class<? extends Entity>> insertOrder, List<Class<? extends Entity>> deleteOrder) getBeans()
getClock()
List<org.apache.ibatis.plugin.Interceptor>
Collection<? extends CommandInterceptor>
static Properties
abstract String
abstract String
abstract String
protected List<EngineConfigurator>
int
int
int
int
int
int
getLockManager
(String lockName) int
int
int
abstract InputStream
com.fasterxml.jackson.databind.ObjectMapper
protected InputStream
getResourceAsStream
(String resource) Map<Class<?>,
SessionFactory> org.apache.ibatis.session.SqlSessionFactory
org.apache.ibatis.transaction.TransactionFactory
protected void
void
void
void
void
void
void
void
void
void
initCustomMybatisInterceptors
(org.apache.ibatis.session.Configuration configuration) void
initCustomMybatisMappers
(org.apache.ibatis.session.Configuration configuration) void
void
protected void
void
protected abstract void
void
protected void
void
void
protected void
void
org.apache.ibatis.session.Configuration
initMybatisConfiguration
(org.apache.ibatis.mapping.Environment environment, Reader reader, Properties properties) void
initMyBatisLogSqlExecutionTimePlugin
(org.apache.ibatis.session.Configuration configuration) void
initMybatisTypeHandlers
(org.apache.ibatis.session.Configuration configuration) void
void
void
protected void
initService
(Object service) void
void
void
void
protected void
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
parseCustomMybatisXMLMappers
(org.apache.ibatis.session.Configuration configuration) void
parseDependentEngineMybatisXMLMappers
(org.apache.ibatis.session.Configuration configuration) org.apache.ibatis.session.Configuration
parseMybatisConfiguration
(org.apache.ibatis.builder.xml.XMLConfigBuilder parser) protected void
parseMybatisXmlMapping
(org.apache.ibatis.session.Configuration configuration, String resource) setAdditionalEventDispatchActions
(List<EventDispatchAction> additionalEventDispatchActions) setAgendaOperationExecutionListeners
(Collection<AgendaOperationExecutionListener> agendaOperationExecutionListeners) setAgendaOperationRunner
(AgendaOperationRunner agendaOperationRunner) setAlwaysLookupLatestDefinitionVersion
(boolean alwaysLookupLatestDefinitionVersion) setBulkInsertEnabled
(boolean isBulkInsertEnabled) setByteArrayDataManager
(ByteArrayDataManager byteArrayDataManager) setByteArrayEntityManager
(ByteArrayEntityManager byteArrayEntityManager) setClassLoader
(ClassLoader classLoader) setCommandContextFactory
(CommandContextFactory commandContextFactory) setCommandExecutor
(CommandExecutor commandExecutor) setCommandInterceptors
(List<CommandInterceptor> commandInterceptors) setCommandInvoker
(CommandInterceptor commandInvoker) setCommonSchemaManager
(SchemaManager commonSchemaManager) setConfigurators
(List<EngineConfigurator> configurators) setCustomMybatisInterceptors
(List<org.apache.ibatis.plugin.Interceptor> customMybatisInterceptors) setCustomMybatisMappers
(Set<Class<?>> customMybatisMappers) setCustomMybatisXMLMappers
(Set<String> customMybatisXMLMappers) setCustomPostCommandInterceptors
(List<CommandInterceptor> customPostCommandInterceptors) setCustomPostDeployers
(List<EngineDeployer> customPostDeployers) setCustomPreCommandInterceptors
(List<CommandInterceptor> customPreCommandInterceptors) setCustomPreDeployers
(List<EngineDeployer> customPreDeployers) setCustomSessionFactories
(List<SessionFactory> customSessionFactories) setDatabaseCatalog
(String databaseCatalog) setDatabaseSchema
(String databaseSchema) setDatabaseSchemaUpdate
(String databaseSchemaUpdate) setDatabaseTablePrefix
(String databaseTablePrefix) setDatabaseType
(String databaseType) setDatabaseWildcardEscapeCharacter
(String databaseWildcardEscapeCharacter) setDataSource
(DataSource dataSource) setDataSourceJndiName
(String dataSourceJndiName) setDbHistoryUsed
(boolean isDbHistoryUsed) setDbSqlSessionFactory
(DbSqlSessionFactory dbSqlSessionFactory) setDefaultCommandConfig
(CommandConfig defaultCommandConfig) setDefaultCommandInterceptors
(Collection<? extends CommandInterceptor> defaultCommandInterceptors) setDefaultTenantProvider
(DefaultTenantProvider defaultTenantProvider) setDefaultTenantValue
(String defaultTenantValue) setDependentEngineMybatisTypeAliasConfigs
(List<MybatisTypeAliasConfigurator> dependentEngineMybatisTypeAliasConfigs) setDependentEngineMybatisTypeHandlerConfigs
(List<MybatisTypeHandlerConfigurator> dependentEngineMybatisTypeHandlerConfigs) setDependentEngineMyBatisXmlMappers
(Set<String> dependentEngineMyBatisXmlMappers) setDeployers
(List<EngineDeployer> deployers) setEnableConfiguratorServiceLoader
(boolean enableConfiguratorServiceLoader) setEnableEventDispatcher
(boolean enableEventDispatcher) void
setEnableLogSqlExecutionTime
(boolean enableLogSqlExecutionTime) setEngineConfigurations
(Map<String, AbstractEngineConfiguration> engineConfigurations) setEngineLifecycleListeners
(List<EngineLifecycleListener> engineLifecycleListeners) setEventDispatcher
(FlowableEventDispatcher eventDispatcher) setEventListeners
(List<FlowableEventListener> eventListeners) setEventRegistryConfigurator
(EngineConfigurator eventRegistryConfigurator) setEventRegistryEventConsumers
(Map<String, EventRegistryEventConsumer> eventRegistryEventConsumers) setFallbackToDefaultTenant
(boolean fallbackToDefaultTenant) setForceCloseMybatisConnectionPool
(boolean forceCloseMybatisConnectionPool) setIdGenerator
(IdGenerator idGenerator) setIdmEngineConfigurator
(EngineConfigurator idmEngineConfigurator) setJdbcDefaultTransactionIsolationLevel
(int jdbcDefaultTransactionIsolationLevel) setJdbcDriver
(String jdbcDriver) setJdbcMaxActiveConnections
(int jdbcMaxActiveConnections) setJdbcMaxCheckoutTime
(int jdbcMaxCheckoutTime) setJdbcMaxIdleConnections
(int jdbcMaxIdleConnections) setJdbcMaxWaitTime
(int jdbcMaxWaitTime) setJdbcPassword
(String jdbcPassword) setJdbcPingConnectionNotUsedFor
(int jdbcPingConnectionNotUsedFor) setJdbcPingEnabled
(boolean jdbcPingEnabled) setJdbcPingQuery
(String jdbcPingQuery) setJdbcUrl
(String jdbcUrl) setJdbcUsername
(String jdbcUsername) setLockPollRate
(Duration lockPollRate) void
setLoggingListener
(LoggingListener loggingListener) setMaxLengthStringVariableType
(int maxLengthStringVariableType) setMaxNrOfStatementsInBulkInsert
(int maxNrOfStatementsInBulkInsert) void
setMybatisMappingFile
(String file) setObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) setPropertyDataManager
(PropertyDataManager propertyDataManager) setPropertyEntityManager
(PropertyEntityManager propertyEntityManager) setSchemaCommandConfig
(CommandConfig schemaCommandConfig) void
setSchemaLockWaitTime
(Duration schemaLockWaitTime) setSchemaManagementCmd
(Command<Void> schemaManagementCmd) setSchemaManager
(SchemaManager schemaManager) setServiceConfigurations
(Map<String, AbstractServiceConfiguration> serviceConfigurations) setSessionFactories
(Map<Class<?>, SessionFactory> sessionFactories) setSqlSessionFactory
(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory) setTableDataManager
(TableDataManager tableDataManager) setTablePrefixIsSchema
(boolean tablePrefixIsSchema) setTransactionContextFactory
(TransactionContextFactory transactionContextFactory) setTransactionFactory
(org.apache.ibatis.transaction.TransactionFactory transactionFactory) setTransactionsExternallyManaged
(boolean transactionsExternallyManaged) setTypedEventListeners
(Map<String, List<FlowableEventListener>> typedEventListeners) setUseClassForNameClassLoading
(boolean useClassForNameClassLoading) setUseLockForDatabaseSchemaUpdate
(boolean useLockForDatabaseSchemaUpdate) setUsePrefixId
(boolean usePrefixId) setUsingRelationalDatabase
(boolean usingRelationalDatabase) setUsingSchemaMgmt
(boolean usingSchema) setXmlEncoding
(String xmlEncoding)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
NO_TENANT_ID
The tenant id indicating 'no tenant'- See Also:
-
DB_SCHEMA_UPDATE_FALSE
Checks the version of the DB schema against the library when the form engine is being created and throws an exception if the versions don't match.- See Also:
-
DB_SCHEMA_UPDATE_CREATE
- See Also:
-
DB_SCHEMA_UPDATE_CREATE_DROP
- See Also:
-
DB_SCHEMA_UPDATE_DROP_CREATE
Creates the schema when the form engine is being created and drops the schema when the form engine is being closed.- See Also:
-
DB_SCHEMA_UPDATE_TRUE
Upon building of the process engine, a check is performed and an update of the schema is performed if it is necessary.- See Also:
-
forceCloseMybatisConnectionPool
protected boolean forceCloseMybatisConnectionPool -
databaseType
-
jdbcDriver
-
jdbcUrl
-
jdbcUsername
-
jdbcPassword
-
dataSourceJndiName
-
jdbcMaxActiveConnections
protected int jdbcMaxActiveConnections -
jdbcMaxIdleConnections
protected int jdbcMaxIdleConnections -
jdbcMaxCheckoutTime
protected int jdbcMaxCheckoutTime -
jdbcMaxWaitTime
protected int jdbcMaxWaitTime -
jdbcPingEnabled
protected boolean jdbcPingEnabled -
jdbcPingQuery
-
jdbcPingConnectionNotUsedFor
protected int jdbcPingConnectionNotUsedFor -
jdbcDefaultTransactionIsolationLevel
protected int jdbcDefaultTransactionIsolationLevel -
dataSource
-
commonSchemaManager
-
schemaManager
-
schemaManagementCmd
-
databaseSchemaUpdate
-
useLockForDatabaseSchemaUpdate
protected boolean useLockForDatabaseSchemaUpdateWhether to use a lock when performing the database schema create or update operations. -
xmlEncoding
-
commandExecutor
-
defaultCommandInterceptors
-
defaultCommandConfig
-
schemaCommandConfig
-
commandContextFactory
-
commandInvoker
-
agendaOperationRunner
-
agendaOperationExecutionListeners
-
customPreCommandInterceptors
-
customPostCommandInterceptors
-
commandInterceptors
-
engineConfigurations
-
serviceConfigurations
-
classLoader
-
useClassForNameClassLoading
protected boolean useClassForNameClassLoadingEither use Class.forName or ClassLoader.loadClass for class loading. See http://forums.activiti.org/content/reflectutilloadclass-and-custom- classloader -
engineLifecycleListeners
-
eventRegistryEventConsumers
-
isDbHistoryUsed
protected boolean isDbHistoryUsed -
dbSqlSessionFactory
-
sqlSessionFactory
protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory -
transactionFactory
protected org.apache.ibatis.transaction.TransactionFactory transactionFactory -
transactionContextFactory
-
isBulkInsertEnabled
protected boolean isBulkInsertEnabledIf set to true, enables bulk insert (grouping sql inserts together). Default true. For some databases (eg DB2+z/OS) needs to be set to false. -
maxNrOfStatementsInBulkInsert
protected int maxNrOfStatementsInBulkInsertSome databases have a limit of how many parameters one sql insert can have (eg SQL Server, 2000 params (!= insert statements) ). Tweak this parameter in case of exceptions indicating too much is being put into one bulk insert, or make it higher if your database can cope with it and there are inserts with a huge amount of data.By default: 100 (55 for mssql server as it has a hard limit of 2000 parameters in a statement)
-
DEFAULT_MAX_NR_OF_STATEMENTS_BULK_INSERT_SQL_SERVER
public int DEFAULT_MAX_NR_OF_STATEMENTS_BULK_INSERT_SQL_SERVER -
mybatisMappingFile
-
customMybatisMappers
-
customMybatisXMLMappers
-
customMybatisInterceptors
-
dependentEngineMyBatisXmlMappers
-
dependentEngineMybatisTypeAliasConfigs
-
dependentEngineMybatisTypeHandlerConfigs
-
customSessionFactories
-
sessionFactories
-
enableEventDispatcher
protected boolean enableEventDispatcher -
eventDispatcher
-
eventListeners
-
typedEventListeners
-
additionalEventDispatchActions
-
loggingListener
-
transactionsExternallyManaged
protected boolean transactionsExternallyManaged -
usingRelationalDatabase
protected boolean usingRelationalDatabaseFlag that can be set to configure or not a relational database is used. This is useful for custom implementations that do not use relational databases at all. If true (default), thegetDatabaseSchemaUpdate()
value will be used to determine what needs to happen wrt the database schema. If false, no validation or schema creation will be done. That means that the database schema must have been created 'manually' before but the engine does not validate whether the schema is correct. ThegetDatabaseSchemaUpdate()
value will not be used. -
usingSchemaMgmt
protected boolean usingSchemaMgmtFlag that can be set to configure whether or not a schema is used. This is useful for custom implementations that do not use relational databases at all. SettingusingRelationalDatabase
to true will automatically imply using a schema. -
databaseTablePrefix
Allows configuring a database table prefix which is used for all runtime operations of the process engine. For example, if you specify a prefix named 'PRE1.', Flowable will query for executions in a table named 'PRE1.ACT_RU_EXECUTION_'.NOTE: the prefix is not respected by automatic database schema management. If you use
DB_SCHEMA_UPDATE_CREATE_DROP
orDB_SCHEMA_UPDATE_TRUE
, Flowable will create the database tables using the default names, regardless of the prefix configured here. -
databaseWildcardEscapeCharacter
Escape character for doing wildcard searches. This will be added at then end of queries that include for example a LIKE clause. For example: SELECT * FROM table WHERE column LIKE '%\%%' ESCAPE '\'; -
databaseCatalog
database catalog to use -
databaseSchema
In some situations you want to set the schema to use for table checks / generation if the database metadata doesn't return that correctly, see https://jira.codehaus.org/browse/ACT-1220, https://jira.codehaus.org/browse/ACT-1062 -
tablePrefixIsSchema
protected boolean tablePrefixIsSchemaSet to true in case the defined databaseTablePrefix is a schema-name, instead of an actual table name prefix. This is relevant for checking if Flowable-tables exist, the databaseTablePrefix will not be used here - since the schema is taken into account already, adding a prefix for the table-check will result in wrong table-names. -
alwaysLookupLatestDefinitionVersion
protected boolean alwaysLookupLatestDefinitionVersionSet to true if the latest version of a definition should be retrieved, ignoring a possible parent deployment id value -
fallbackToDefaultTenant
protected boolean fallbackToDefaultTenantSet to true if by default lookups should fallback to the default tenant (an empty string by default or a defined tenant value) -
defaultTenantProvider
Default tenant provider that is executed when looking up definitions, in case the global or local fallback to default tenant value is true -
enableLogSqlExecutionTime
protected boolean enableLogSqlExecutionTimeEnables the MyBatis plugin that logs the execution time of sql statements. -
databaseTypeMappings
-
lockPollRate
Duration between the checks when acquiring a lock. -
schemaLockWaitTime
Duration to wait for the DB Schema lock before giving up. -
propertyDataManager
-
byteArrayDataManager
-
tableDataManager
-
propertyEntityManager
-
byteArrayEntityManager
-
customPreDeployers
-
customPostDeployers
-
deployers
-
enableConfiguratorServiceLoader
protected boolean enableConfiguratorServiceLoader -
configurators
-
allConfigurators
-
idmEngineConfigurator
-
eventRegistryConfigurator
-
PRODUCT_NAME_POSTGRES
- See Also:
-
PRODUCT_NAME_CRDB
- See Also:
-
DATABASE_TYPE_H2
- See Also:
-
DATABASE_TYPE_HSQL
- See Also:
-
DATABASE_TYPE_MYSQL
- See Also:
-
DATABASE_TYPE_ORACLE
- See Also:
-
DATABASE_TYPE_POSTGRES
- See Also:
-
DATABASE_TYPE_MSSQL
- See Also:
-
DATABASE_TYPE_DB2
- See Also:
-
DATABASE_TYPE_COCKROACHDB
- See Also:
-
beans
-
idGenerator
-
usePrefixId
protected boolean usePrefixId -
clock
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
DEFAULT_GENERIC_MAX_LENGTH_STRING
public static final int DEFAULT_GENERIC_MAX_LENGTH_STRING- See Also:
-
DEFAULT_ORACLE_MAX_LENGTH_STRING
public static final int DEFAULT_ORACLE_MAX_LENGTH_STRING- See Also:
-
maxLengthStringVariableType
protected int maxLengthStringVariableTypeDefine a max length for storing String variable types in the database. Mainly used for the Oracle NVARCHAR2 limit of 2000 characters
-
-
Constructor Details
-
AbstractEngineConfiguration
public AbstractEngineConfiguration()
-
-
Method Details
-
getDefaultDatabaseTypeMappings
-
initEngineConfigurations
protected void initEngineConfigurations() -
initDataSource
protected void initDataSource() -
initDatabaseType
public void initDatabaseType() -
initSchemaManager
public void initSchemaManager() -
addSessionFactory
-
initCommandContextFactory
public void initCommandContextFactory() -
initTransactionContextFactory
public void initTransactionContextFactory() -
initCommandExecutors
public void initCommandExecutors() -
initDefaultCommandConfig
public void initDefaultCommandConfig() -
initSchemaCommandConfig
public void initSchemaCommandConfig() -
initCommandInvoker
public void initCommandInvoker() -
initCommandInterceptors
public void initCommandInterceptors() -
getDefaultCommandInterceptors
-
getEngineCfgKey
-
getEngineScopeType
-
getAdditionalDefaultCommandInterceptors
-
initCommandExecutor
public void initCommandExecutor() -
initInterceptorChain
-
createTransactionInterceptor
-
initBeans
public void initBeans() -
initIdGenerator
public void initIdGenerator() -
initObjectMapper
public void initObjectMapper() -
initClock
public void initClock() -
initDataManagers
public void initDataManagers() -
initEntityManagers
public void initEntityManagers() -
initService
-
initSessionFactories
public void initSessionFactories() -
initDbSqlSessionFactory
public void initDbSqlSessionFactory() -
createDbSqlSessionFactory
-
initDbSqlSessionFactoryEntitySettings
protected abstract void initDbSqlSessionFactoryEntitySettings() -
defaultInitDbSqlSessionFactoryEntitySettings
-
initTransactionFactory
public void initTransactionFactory() -
initSqlSessionFactory
public void initSqlSessionFactory() -
pathToEngineDbProperties
-
initMybatisConfiguration
public org.apache.ibatis.session.Configuration initMybatisConfiguration(org.apache.ibatis.mapping.Environment environment, Reader reader, Properties properties) -
initCustomMybatisMappers
public void initCustomMybatisMappers(org.apache.ibatis.session.Configuration configuration) -
initMybatisTypeHandlers
public void initMybatisTypeHandlers(org.apache.ibatis.session.Configuration configuration) -
initCustomMybatisInterceptors
public void initCustomMybatisInterceptors(org.apache.ibatis.session.Configuration configuration) -
initMyBatisLogSqlExecutionTimePlugin
public void initMyBatisLogSqlExecutionTimePlugin(org.apache.ibatis.session.Configuration configuration) -
parseMybatisConfiguration
public org.apache.ibatis.session.Configuration parseMybatisConfiguration(org.apache.ibatis.builder.xml.XMLConfigBuilder parser) -
applyCustomMybatisCustomizations
protected void applyCustomMybatisCustomizations(org.apache.ibatis.session.Configuration configuration) -
parseCustomMybatisXMLMappers
public void parseCustomMybatisXMLMappers(org.apache.ibatis.session.Configuration configuration) -
parseDependentEngineMybatisXMLMappers
public void parseDependentEngineMybatisXMLMappers(org.apache.ibatis.session.Configuration configuration) -
parseMybatisXmlMapping
protected void parseMybatisXmlMapping(org.apache.ibatis.session.Configuration configuration, String resource) -
getResourceAsStream
-
setMybatisMappingFile
-
getMybatisMappingFile
-
getMyBatisXmlConfigurationStream
-
initConfigurators
public void initConfigurators() -
close
public void close() -
getEngineSpecificEngineConfigurators
-
configuratorsBeforeInit
public void configuratorsBeforeInit() -
configuratorsAfterInit
public void configuratorsAfterInit() -
getLockManager
-
getEngineName
-
getClassLoader
-
setClassLoader
-
isUseClassForNameClassLoading
public boolean isUseClassForNameClassLoading() -
setUseClassForNameClassLoading
public AbstractEngineConfiguration setUseClassForNameClassLoading(boolean useClassForNameClassLoading) -
addEngineLifecycleListener
-
getEngineLifecycleListeners
-
setEngineLifecycleListeners
public AbstractEngineConfiguration setEngineLifecycleListeners(List<EngineLifecycleListener> engineLifecycleListeners) -
getDatabaseType
-
setDatabaseType
-
getDataSource
-
setDataSource
-
getSchemaManager
-
setSchemaManager
-
getCommonSchemaManager
-
setCommonSchemaManager
-
getSchemaManagementCmd
-
setSchemaManagementCmd
-
getJdbcDriver
-
setJdbcDriver
-
getJdbcUrl
-
setJdbcUrl
-
getJdbcUsername
-
setJdbcUsername
-
getJdbcPassword
-
setJdbcPassword
-
getJdbcMaxActiveConnections
public int getJdbcMaxActiveConnections() -
setJdbcMaxActiveConnections
-
getJdbcMaxIdleConnections
public int getJdbcMaxIdleConnections() -
setJdbcMaxIdleConnections
-
getJdbcMaxCheckoutTime
public int getJdbcMaxCheckoutTime() -
setJdbcMaxCheckoutTime
-
getJdbcMaxWaitTime
public int getJdbcMaxWaitTime() -
setJdbcMaxWaitTime
-
isJdbcPingEnabled
public boolean isJdbcPingEnabled() -
setJdbcPingEnabled
-
getJdbcPingConnectionNotUsedFor
public int getJdbcPingConnectionNotUsedFor() -
setJdbcPingConnectionNotUsedFor
public AbstractEngineConfiguration setJdbcPingConnectionNotUsedFor(int jdbcPingConnectionNotUsedFor) -
getJdbcDefaultTransactionIsolationLevel
public int getJdbcDefaultTransactionIsolationLevel() -
setJdbcDefaultTransactionIsolationLevel
public AbstractEngineConfiguration setJdbcDefaultTransactionIsolationLevel(int jdbcDefaultTransactionIsolationLevel) -
getJdbcPingQuery
-
setJdbcPingQuery
-
getDataSourceJndiName
-
setDataSourceJndiName
-
getSchemaCommandConfig
-
setSchemaCommandConfig
-
isTransactionsExternallyManaged
public boolean isTransactionsExternallyManaged() -
setTransactionsExternallyManaged
public AbstractEngineConfiguration setTransactionsExternallyManaged(boolean transactionsExternallyManaged) -
getBeans
-
setBeans
-
getIdGenerator
-
setIdGenerator
-
isUsePrefixId
public boolean isUsePrefixId() -
setUsePrefixId
-
getXmlEncoding
-
setXmlEncoding
-
getDefaultCommandConfig
-
setDefaultCommandConfig
-
getCommandExecutor
-
setCommandExecutor
-
getCommandContextFactory
-
setCommandContextFactory
public AbstractEngineConfiguration setCommandContextFactory(CommandContextFactory commandContextFactory) -
getCommandInvoker
-
setCommandInvoker
-
getAgendaOperationRunner
-
setAgendaOperationRunner
public AbstractEngineConfiguration setAgendaOperationRunner(AgendaOperationRunner agendaOperationRunner) -
getAgendaOperationExecutionListeners
-
addAgendaOperationExecutionListener
public AbstractEngineConfiguration addAgendaOperationExecutionListener(AgendaOperationExecutionListener listener) -
setAgendaOperationExecutionListeners
public AbstractEngineConfiguration setAgendaOperationExecutionListeners(Collection<AgendaOperationExecutionListener> agendaOperationExecutionListeners) -
getCustomPreCommandInterceptors
-
addCustomPreCommandInterceptor
public AbstractEngineConfiguration addCustomPreCommandInterceptor(CommandInterceptor commandInterceptor) -
setCustomPreCommandInterceptors
public AbstractEngineConfiguration setCustomPreCommandInterceptors(List<CommandInterceptor> customPreCommandInterceptors) -
getCustomPostCommandInterceptors
-
addCustomPostCommandInterceptor
public AbstractEngineConfiguration addCustomPostCommandInterceptor(CommandInterceptor commandInterceptor) -
setCustomPostCommandInterceptors
public AbstractEngineConfiguration setCustomPostCommandInterceptors(List<CommandInterceptor> customPostCommandInterceptors) -
getCommandInterceptors
-
setCommandInterceptors
public AbstractEngineConfiguration setCommandInterceptors(List<CommandInterceptor> commandInterceptors) -
getEngineConfigurations
-
setEngineConfigurations
public AbstractEngineConfiguration setEngineConfigurations(Map<String, AbstractEngineConfiguration> engineConfigurations) -
addEngineConfiguration
public void addEngineConfiguration(String key, String scopeType, AbstractEngineConfiguration engineConfiguration) -
getServiceConfigurations
-
setServiceConfigurations
public AbstractEngineConfiguration setServiceConfigurations(Map<String, AbstractServiceConfiguration> serviceConfigurations) -
addServiceConfiguration
-
getEventRegistryEventConsumers
-
setEventRegistryEventConsumers
public AbstractEngineConfiguration setEventRegistryEventConsumers(Map<String, EventRegistryEventConsumer> eventRegistryEventConsumers) -
addEventRegistryEventConsumer
public void addEventRegistryEventConsumer(String key, EventRegistryEventConsumer eventRegistryEventConsumer) -
setDefaultCommandInterceptors
public AbstractEngineConfiguration setDefaultCommandInterceptors(Collection<? extends CommandInterceptor> defaultCommandInterceptors) -
getSqlSessionFactory
public org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory() -
setSqlSessionFactory
public AbstractEngineConfiguration setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory) -
isDbHistoryUsed
public boolean isDbHistoryUsed() -
setDbHistoryUsed
-
getDbSqlSessionFactory
-
setDbSqlSessionFactory
-
getTransactionFactory
public org.apache.ibatis.transaction.TransactionFactory getTransactionFactory() -
setTransactionFactory
public AbstractEngineConfiguration setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory) -
getTransactionContextFactory
-
setTransactionContextFactory
public AbstractEngineConfiguration setTransactionContextFactory(TransactionContextFactory transactionContextFactory) -
getMaxNrOfStatementsInBulkInsert
public int getMaxNrOfStatementsInBulkInsert() -
setMaxNrOfStatementsInBulkInsert
public AbstractEngineConfiguration setMaxNrOfStatementsInBulkInsert(int maxNrOfStatementsInBulkInsert) -
isBulkInsertEnabled
public boolean isBulkInsertEnabled() -
setBulkInsertEnabled
-
getCustomMybatisMappers
-
setCustomMybatisMappers
-
getCustomMybatisXMLMappers
-
setCustomMybatisXMLMappers
-
getDependentEngineMyBatisXmlMappers
-
setCustomMybatisInterceptors
public AbstractEngineConfiguration setCustomMybatisInterceptors(List<org.apache.ibatis.plugin.Interceptor> customMybatisInterceptors) -
getCustomMybatisInterceptors
-
setDependentEngineMyBatisXmlMappers
public AbstractEngineConfiguration setDependentEngineMyBatisXmlMappers(Set<String> dependentEngineMyBatisXmlMappers) -
getDependentEngineMybatisTypeAliasConfigs
-
setDependentEngineMybatisTypeAliasConfigs
public AbstractEngineConfiguration setDependentEngineMybatisTypeAliasConfigs(List<MybatisTypeAliasConfigurator> dependentEngineMybatisTypeAliasConfigs) -
getDependentEngineMybatisTypeHandlerConfigs
-
setDependentEngineMybatisTypeHandlerConfigs
public AbstractEngineConfiguration setDependentEngineMybatisTypeHandlerConfigs(List<MybatisTypeHandlerConfigurator> dependentEngineMybatisTypeHandlerConfigs) -
getCustomSessionFactories
-
addCustomSessionFactory
-
setCustomSessionFactories
public AbstractEngineConfiguration setCustomSessionFactories(List<SessionFactory> customSessionFactories) -
isUsingRelationalDatabase
public boolean isUsingRelationalDatabase() -
setUsingRelationalDatabase
-
isUsingSchemaMgmt
public boolean isUsingSchemaMgmt() -
setUsingSchemaMgmt
-
getDatabaseTablePrefix
-
setDatabaseTablePrefix
-
getDatabaseWildcardEscapeCharacter
-
setDatabaseWildcardEscapeCharacter
public AbstractEngineConfiguration setDatabaseWildcardEscapeCharacter(String databaseWildcardEscapeCharacter) -
getDatabaseCatalog
-
setDatabaseCatalog
-
getDatabaseSchema
-
setDatabaseSchema
-
isTablePrefixIsSchema
public boolean isTablePrefixIsSchema() -
setTablePrefixIsSchema
-
isAlwaysLookupLatestDefinitionVersion
public boolean isAlwaysLookupLatestDefinitionVersion() -
setAlwaysLookupLatestDefinitionVersion
public AbstractEngineConfiguration setAlwaysLookupLatestDefinitionVersion(boolean alwaysLookupLatestDefinitionVersion) -
isFallbackToDefaultTenant
public boolean isFallbackToDefaultTenant() -
setFallbackToDefaultTenant
-
setDefaultTenantValue
-
getDefaultTenantProvider
-
setDefaultTenantProvider
public AbstractEngineConfiguration setDefaultTenantProvider(DefaultTenantProvider defaultTenantProvider) -
isEnableLogSqlExecutionTime
public boolean isEnableLogSqlExecutionTime() -
setEnableLogSqlExecutionTime
public void setEnableLogSqlExecutionTime(boolean enableLogSqlExecutionTime) -
getSessionFactories
-
setSessionFactories
public AbstractEngineConfiguration setSessionFactories(Map<Class<?>, SessionFactory> sessionFactories) -
getDatabaseSchemaUpdate
-
setDatabaseSchemaUpdate
-
isUseLockForDatabaseSchemaUpdate
public boolean isUseLockForDatabaseSchemaUpdate() -
setUseLockForDatabaseSchemaUpdate
public AbstractEngineConfiguration setUseLockForDatabaseSchemaUpdate(boolean useLockForDatabaseSchemaUpdate) -
isEnableEventDispatcher
public boolean isEnableEventDispatcher() -
setEnableEventDispatcher
-
getEventDispatcher
-
setEventDispatcher
-
getEventListeners
-
setEventListeners
-
getTypedEventListeners
-
setTypedEventListeners
public AbstractEngineConfiguration setTypedEventListeners(Map<String, List<FlowableEventListener>> typedEventListeners) -
getAdditionalEventDispatchActions
-
setAdditionalEventDispatchActions
public AbstractEngineConfiguration setAdditionalEventDispatchActions(List<EventDispatchAction> additionalEventDispatchActions) -
initEventDispatcher
public void initEventDispatcher() -
initEventListeners
protected void initEventListeners() -
initAdditionalEventDispatchActions
protected void initAdditionalEventDispatchActions() -
initTypedEventListeners
protected void initTypedEventListeners() -
isLoggingSessionEnabled
public boolean isLoggingSessionEnabled() -
getLoggingListener
-
setLoggingListener
-
getClock
-
setClock
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
setObjectMapper
public AbstractEngineConfiguration setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
getMaxLengthString
public int getMaxLengthString() -
getMaxLengthStringVariableType
public int getMaxLengthStringVariableType() -
setMaxLengthStringVariableType
-
getPropertyDataManager
-
getLockPollRate
-
setLockPollRate
-
getSchemaLockWaitTime
-
setSchemaLockWaitTime
-
setPropertyDataManager
-
getPropertyEntityManager
-
setPropertyEntityManager
public AbstractEngineConfiguration setPropertyEntityManager(PropertyEntityManager propertyEntityManager) -
getByteArrayDataManager
-
setByteArrayDataManager
public AbstractEngineConfiguration setByteArrayDataManager(ByteArrayDataManager byteArrayDataManager) -
getByteArrayEntityManager
-
setByteArrayEntityManager
public AbstractEngineConfiguration setByteArrayEntityManager(ByteArrayEntityManager byteArrayEntityManager) -
getTableDataManager
-
setTableDataManager
-
getDeployers
-
setDeployers
-
getCustomPreDeployers
-
setCustomPreDeployers
-
getCustomPostDeployers
-
setCustomPostDeployers
-
isEnableConfiguratorServiceLoader
public boolean isEnableConfiguratorServiceLoader() -
setEnableConfiguratorServiceLoader
public AbstractEngineConfiguration setEnableConfiguratorServiceLoader(boolean enableConfiguratorServiceLoader) -
getConfigurators
-
addConfigurator
-
getAllConfigurators
- Returns:
- All
EngineConfigurator
instances. Will only contain values after init of the engine. Use thegetConfigurators()
oraddConfigurator(EngineConfigurator)
methods otherwise.
-
setConfigurators
-
getIdmEngineConfigurator
-
setIdmEngineConfigurator
public AbstractEngineConfiguration setIdmEngineConfigurator(EngineConfigurator idmEngineConfigurator) -
getEventRegistryConfigurator
-
setEventRegistryConfigurator
public AbstractEngineConfiguration setEventRegistryConfigurator(EngineConfigurator eventRegistryConfigurator) -
setForceCloseMybatisConnectionPool
public AbstractEngineConfiguration setForceCloseMybatisConnectionPool(boolean forceCloseMybatisConnectionPool) -
isForceCloseMybatisConnectionPool
public boolean isForceCloseMybatisConnectionPool()
-