Class ProcessEngineConfiguration
- Direct Known Subclasses:
ProcessEngineConfigurationImpl
Most common is to create a process engine based on the default configuration file:
ProcessEngine processEngine = ProcessEngineConfiguration.createProcessEngineConfigurationFromResourceDefault().buildProcessEngine();
To create a process engine programmatic, without a configuration file, the first option is createStandaloneProcessEngineConfiguration()
ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration().buildProcessEngine();
This creates a new process engine with all the defaults to connect to a remote h2 database (jdbc:h2:tcp://localhost/flowable) in standalone mode. Standalone mode means that the process engine will manage the transactions on the JDBC connections that it creates. One transaction per service method. For a description of how to write the configuration files, see the userguide.
The second option is great for testing: createStandaloneInMemProcessEngineConfiguration()
ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration().buildProcessEngine();
This creates a new process engine with all the defaults to connect to an memory h2 database (jdbc:h2:tcp://localhost/flowable) in standalone mode. The DB schema strategy default is in this case
create-drop. Standalone mode means that Flowable will manage the transactions on the JDBC connections that it creates. One transaction per service method.
On all forms of creating a process engine, you can first customize the configuration before calling the buildProcessEngine() method by calling any of the setters like this:
ProcessEngine processEngine = ProcessEngineConfiguration.createProcessEngineConfigurationFromResourceDefault().setMailServerHost("gmail.com").setJdbcUsername("mickey").setJdbcPassword("mouse")
.buildProcessEngine();
- Author:
- Tom Baeyens
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected Stringprotected AsyncExecutorprotected booleanprotected intdefine the default wait time for a failed async job in secondsprotected AsyncExecutorprotected booleanprotected AsyncTaskExecutorprotected AsyncTaskExecutorprotected AsyncTaskInvokerprotected AsyncTaskExecutorprotected intprotected Durationprotected Stringprotected intdefine the default wait time for a failed job in secondsprotected FlowableMailClientprotected MailServerInfoprotected booleaninclude the sequence flow name in case there's no Label DI,protected booleanprotected booleanprotected booleanprotected Stringprotected HistoryCleaningManagerprotected Stringprotected HistoryLevelprotected HttpClientConfigprotected intprotected booleanprotected booleanprotected Objectprotected booleanprotected Stringprotected Stringprotected Map<String,FlowableMailClient> protected Map<String,MailServerInfo> protected Stringprotected ProcessDiagramGeneratorProcess diagram generator.protected Stringprotected booleanprotected booleanprotected booleanprotected TaskPostProcessorpostprocessor for a task builderFields inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
additionalEventDispatchActions, agendaOperationExecutionListeners, agendaOperationRunner, allConfigurators, alwaysLookupLatestDefinitionVersion, beans, byteArrayDataManager, byteArrayEntityManager, classLoader, clock, commandContextFactory, commandExecutor, commandInterceptors, commandInvoker, commonSchemaManager, configurators, customMybatisInterceptors, customMybatisMappers, customMybatisXMLMappers, customPostCommandInterceptors, customPostDeployers, customPreCommandInterceptors, customPreDeployers, customSessionFactories, DATABASE_TYPE_COCKROACHDB, DATABASE_TYPE_DB2, DATABASE_TYPE_H2, DATABASE_TYPE_HSQL, DATABASE_TYPE_MSSQL, DATABASE_TYPE_MYSQL, DATABASE_TYPE_ORACLE, DATABASE_TYPE_POSTGRES, databaseCatalog, databaseSchema, databaseSchemaUpdate, databaseTablePrefix, databaseType, databaseTypeMappings, databaseWildcardEscapeCharacter, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_DROP_CREATE, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, dbSqlSessionFactory, DEFAULT_GENERIC_MAX_LENGTH_STRING, DEFAULT_MAX_NR_OF_STATEMENTS_BULK_INSERT_SQL_SERVER, DEFAULT_ORACLE_MAX_LENGTH_STRING, defaultCommandConfig, defaultCommandInterceptors, defaultTenantProvider, dependentEngineMybatisTypeAliasConfigs, dependentEngineMybatisTypeHandlerConfigs, dependentEngineMyBatisXmlMappers, deployers, enableConfiguratorServiceLoader, enableEventDispatcher, enableLogSqlExecutionTime, engineConfigurations, engineLifecycleListeners, eventDispatcher, eventListeners, eventRegistryConfigurator, eventRegistryEventConsumers, fallbackToDefaultTenant, forceCloseMybatisConnectionPool, idGenerator, idmEngineConfigurator, isBulkInsertEnabled, isDbHistoryUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, lockPollRate, logger, loggingListener, maxLengthStringVariableType, maxNrOfStatementsInBulkInsert, mybatisMappingFile, NO_TENANT_ID, objectMapper, PRODUCT_NAME_CRDB, PRODUCT_NAME_POSTGRES, propertyDataManager, propertyEntityManager, schemaCommandConfig, schemaLockWaitTime, schemaManagementCmd, schemaManager, serviceConfigurations, sessionFactories, sqlSessionFactory, tableDataManager, tablePrefixIsSchema, transactionContextFactory, transactionFactory, transactionsExternallyManaged, typedEventListeners, useClassForNameClassLoading, useLockForDatabaseSchemaUpdate, usePrefixId, usingRelationalDatabase, usingSchemaMgmt, xmlEncoding -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotecteduse one of the static createXxxx methods instead -
Method Summary
Modifier and TypeMethodDescriptionabstract ProcessEnginestatic ProcessEngineConfigurationstatic ProcessEngineConfigurationcreateProcessEngineConfigurationFromInputStream(InputStream inputStream, String beanName) static ProcessEngineConfigurationstatic ProcessEngineConfigurationcreateProcessEngineConfigurationFromResource(String resource, String beanName) static ProcessEngineConfigurationstatic ProcessEngineConfigurationstatic ProcessEngineConfigurationintintintDeprecated.intabstract FormServiceabstract HistoryServiceintabstract IdentityServicegetMailClient(String tenantId) getMailServer(String tenantId) intintbooleanbooleangetMailSessionJndi(String tenantId) abstract ManagementServiceprotected MailServerInfoabstract ProcessEngineConfigurationabstract RepositoryServiceabstract RuntimeServiceabstract TaskServicebooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleansetActivityFontName(String activityFontName) setAlwaysUseArraysForDmnMultiHitPolicies(boolean alwaysUseArraysForDmnMultiHitPolicies) setAnnotationFontName(String annotationFontName) setAsyncExecutor(AsyncExecutor asyncExecutor) setAsyncExecutorActivate(boolean asyncExecutorActivate) setAsyncFailedJobWaitTime(int asyncFailedJobWaitTime) setAsyncHistoryExecutor(AsyncExecutor asyncHistoryExecutor) setAsyncHistoryExecutorActivate(boolean asyncHistoryExecutorActivate) setAsyncHistoryTaskExecutor(AsyncTaskExecutor asyncHistoryTaskExecutor) setAsyncTaskExecutor(AsyncTaskExecutor asyncTaskExecutor) setAsyncTaskInvoker(AsyncTaskInvoker asyncTaskInvoker) setAsyncTaskInvokerTaskExecutor(AsyncTaskExecutor asyncTaskInvokerTaskExecutor) setClassLoader(ClassLoader classLoader) setCleanInstancesBatchSize(int cleanInstancesBatchSize) setCleanInstancesEndedAfter(Duration cleanInstancesEndedAfter) setCleanInstancesEndedAfterNumberOfDays(int cleanInstancesEndedAfterNumberOfDays) Deprecated.usesetCleanInstancesEndedAfter(Duration)insteadsetCreateDiagramOnDeploy(boolean createDiagramOnDeploy) setDatabaseCatalog(String databaseCatalog) setDatabaseSchema(String databaseSchema) setDatabaseSchemaUpdate(String databaseSchemaUpdate) setDatabaseTablePrefix(String databaseTablePrefix) setDatabaseType(String databaseType) setDatabaseWildcardEscapeCharacter(String databaseWildcardEscapeCharacter) setDataSource(DataSource dataSource) setDataSourceJndiName(String dataSourceJndiName) setDefaultCamelContext(String defaultCamelContext) setDefaultFailedJobWaitTime(int defaultFailedJobWaitTime) setDefaultMailClient(FlowableMailClient defaultMailClient) setDefaultMailServer(MailServerInfo defaultMailServer) setDrawSequenceFlowNameWithNoLabelDI(boolean drawSequenceFlowNameWithNoLabelDI) setEnableHistoryCleaning(boolean enableHistoryCleaning) setEnableProcessDefinitionHistoryLevel(boolean enableProcessDefinitionHistoryLevel) setEnableProcessDefinitionInfoCache(boolean enableProcessDefinitionInfoCache) setEngineName(String processEngineName) setHistory(String history) setHistoryCleaningManager(HistoryCleaningManager historyCleaningManager) setHistoryCleaningTimeCycleConfig(String historyCleaningTimeCycleConfig) setHistoryLevel(HistoryLevel historyLevel) voidsetHttpClientConfig(HttpClientConfig httpClientConfig) setIdBlockSize(int idBlockSize) setJdbcDefaultTransactionIsolationLevel(int jdbcDefaultTransactionIsolationLevel) setJdbcDriver(String jdbcDriver) setJdbcMaxActiveConnections(int jdbcMaxActiveConnections) setJdbcMaxCheckoutTime(int jdbcMaxCheckoutTime) setJdbcMaxIdleConnections(int jdbcMaxIdleConnections) setJdbcMaxWaitTime(int jdbcMaxWaitTime) setJdbcPassword(String jdbcPassword) setJdbcPingConnectionNotUsedFor(int jdbcPingNotUsedFor) setJdbcPingEnabled(boolean jdbcPingEnabled) setJdbcPingQuery(String jdbcPingQuery) setJdbcUrl(String jdbcUrl) setJdbcUsername(String jdbcUsername) setJpaCloseEntityManager(boolean jpaCloseEntityManager) setJpaEntityManagerFactory(Object jpaEntityManagerFactory) setJpaHandleTransaction(boolean jpaHandleTransaction) setJpaPersistenceUnitName(String jpaPersistenceUnitName) setLabelFontName(String labelFontName) setMailClients(Map<String, FlowableMailClient> mailClients) setMailServerDefaultCharset(Charset mailServerDefaultCharset) setMailServerDefaultFrom(String mailServerDefaultFrom) setMailServerForceTo(String mailServerForceTo) setMailServerHost(String mailServerHost) setMailServerPassword(String mailServerPassword) setMailServerPort(int mailServerPort) setMailServers(Map<String, MailServerInfo> mailServers) setMailServerSSLPort(int mailServerSSLPort) setMailServerUsername(String mailServerUsername) setMailServerUseSSL(boolean useSSL) setMailServerUseTLS(boolean useTLS) setMailSessionJndi(String mailSessionJndi) setMailSessionsJndi(Map<String, String> mailSessionsJndi) setProcessDiagramGenerator(ProcessDiagramGenerator processDiagramGenerator) setTablePrefixIsSchema(boolean tablePrefixIsSchema) voidsetTaskPostProcessor(TaskPostProcessor processor) setTransactionsExternallyManaged(boolean transactionsExternallyManaged) setUseClassForNameClassLoading(boolean useClassForNameClassLoading) setXmlEncoding(String xmlEncoding) Methods inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
addAgendaOperationExecutionListener, addConfigurator, addCustomPostCommandInterceptor, addCustomPreCommandInterceptor, addCustomSessionFactory, addEngineConfiguration, addEngineLifecycleListener, addEventRegistryEventConsumer, addServiceConfiguration, addSessionFactory, applyCustomMybatisCustomizations, close, configuratorsAfterInit, configuratorsBeforeInit, createDbSqlSessionFactory, createTransactionInterceptor, defaultInitDbSqlSessionFactoryEntitySettings, getAdditionalDefaultCommandInterceptors, getAdditionalEventDispatchActions, getAgendaOperationExecutionListeners, getAgendaOperationRunner, getAllConfigurators, getBeans, getByteArrayDataManager, getByteArrayEntityManager, getClassLoader, getClock, getCommandContextFactory, getCommandExecutor, getCommandInterceptors, getCommandInvoker, getCommonSchemaManager, getConfigurators, getCustomMybatisInterceptors, getCustomMybatisMappers, getCustomMybatisXMLMappers, getCustomPostCommandInterceptors, getCustomPostDeployers, getCustomPreCommandInterceptors, getCustomPreDeployers, getCustomSessionFactories, getDatabaseCatalog, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDatabaseWildcardEscapeCharacter, getDataSource, getDataSourceJndiName, getDbSqlSessionFactory, getDefaultCommandConfig, getDefaultCommandInterceptors, getDefaultDatabaseTypeMappings, getDefaultTenantProvider, getDependentEngineMybatisTypeAliasConfigs, getDependentEngineMybatisTypeHandlerConfigs, getDependentEngineMyBatisXmlMappers, getDeployers, getEngineCfgKey, getEngineConfigurations, getEngineLifecycleListeners, getEngineScopeType, getEngineSpecificEngineConfigurators, getEventDispatcher, getEventListeners, getEventRegistryConfigurator, getEventRegistryEventConsumers, getIdGenerator, getIdmEngineConfigurator, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getLockManager, getLockPollRate, getLoggingListener, getMaxLengthString, getMaxLengthStringVariableType, getMaxNrOfStatementsInBulkInsert, getMybatisMappingFile, getMyBatisXmlConfigurationStream, getObjectMapper, getPropertyDataManager, getPropertyEntityManager, getResourceAsStream, getSchemaCommandConfig, getSchemaLockWaitTime, getSchemaManagementCmd, getSchemaManager, getServiceConfigurations, getSessionFactories, getSqlSessionFactory, getTableDataManager, getTransactionContextFactory, getTransactionFactory, getTypedEventListeners, getXmlEncoding, initAdditionalEventDispatchActions, initBeans, initClock, initCommandContextFactory, initCommandExecutor, initCommandExecutors, initCommandInterceptors, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataManagers, initDataSource, initDbSqlSessionFactory, initDbSqlSessionFactoryEntitySettings, initDefaultCommandConfig, initEngineConfigurations, initEntityManagers, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, initObjectMapper, initSchemaCommandConfig, initSchemaManager, initService, initSessionFactories, initSqlSessionFactory, initTransactionContextFactory, initTransactionFactory, initTypedEventListeners, isAlwaysLookupLatestDefinitionVersion, isBulkInsertEnabled, isDbHistoryUsed, isEnableConfiguratorServiceLoader, isEnableEventDispatcher, isEnableLogSqlExecutionTime, isFallbackToDefaultTenant, isForceCloseMybatisConnectionPool, isJdbcPingEnabled, isLoggingSessionEnabled, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, isUseLockForDatabaseSchemaUpdate, isUsePrefixId, isUsingRelationalDatabase, isUsingSchemaMgmt, parseCustomMybatisXMLMappers, parseDependentEngineMybatisXMLMappers, parseMybatisConfiguration, parseMybatisXmlMapping, pathToEngineDbProperties, setAdditionalEventDispatchActions, setAgendaOperationExecutionListeners, setAgendaOperationRunner, setAlwaysLookupLatestDefinitionVersion, setBeans, setBulkInsertEnabled, setByteArrayDataManager, setByteArrayEntityManager, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setCommonSchemaManager, setConfigurators, setCustomMybatisInterceptors, setCustomMybatisMappers, setCustomMybatisXMLMappers, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPreCommandInterceptors, setCustomPreDeployers, setCustomSessionFactories, setDbHistoryUsed, setDbSqlSessionFactory, setDefaultCommandConfig, setDefaultCommandInterceptors, setDefaultTenantProvider, setDefaultTenantValue, setDependentEngineMybatisTypeAliasConfigs, setDependentEngineMybatisTypeHandlerConfigs, setDependentEngineMyBatisXmlMappers, setDeployers, setEnableConfiguratorServiceLoader, setEnableEventDispatcher, setEnableLogSqlExecutionTime, setEngineConfigurations, setEngineLifecycleListeners, setEventDispatcher, setEventListeners, setEventRegistryConfigurator, setEventRegistryEventConsumers, setFallbackToDefaultTenant, setForceCloseMybatisConnectionPool, setIdGenerator, setIdmEngineConfigurator, setLockPollRate, setLoggingListener, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setMybatisMappingFile, setObjectMapper, setPropertyDataManager, setPropertyEntityManager, setSchemaCommandConfig, setSchemaLockWaitTime, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setSessionFactories, setSqlSessionFactory, setTableDataManager, setTransactionContextFactory, setTransactionFactory, setTypedEventListeners, setUseLockForDatabaseSchemaUpdate, setUsePrefixId, setUsingRelationalDatabase, setUsingSchemaMgmt
-
Field Details
-
processEngineName
-
idBlockSize
protected int idBlockSize -
history
-
asyncExecutorActivate
protected boolean asyncExecutorActivate -
asyncHistoryExecutorActivate
protected boolean asyncHistoryExecutorActivate -
defaultMailClient
-
defaultMailServer
-
mailSessionJndi
-
mailServers
-
mailClients
-
mailSessionsJndi
-
httpClientConfig
-
historyLevel
-
enableProcessDefinitionHistoryLevel
protected boolean enableProcessDefinitionHistoryLevel -
jpaPersistenceUnitName
-
jpaEntityManagerFactory
-
jpaHandleTransaction
protected boolean jpaHandleTransaction -
jpaCloseEntityManager
protected boolean jpaCloseEntityManager -
asyncExecutor
-
asyncTaskExecutor
-
shutdownAsyncTaskExecutor
protected boolean shutdownAsyncTaskExecutor -
asyncTaskInvokerTaskExecutor
-
shutdownAsyncTaskInvokerTaskExecutor
protected boolean shutdownAsyncTaskInvokerTaskExecutor -
asyncTaskInvoker
-
asyncHistoryExecutor
-
asyncHistoryTaskExecutor
-
shutdownAsyncHistoryTaskExecutor
protected boolean shutdownAsyncHistoryTaskExecutor -
defaultFailedJobWaitTime
protected int defaultFailedJobWaitTimedefine the default wait time for a failed job in seconds -
asyncFailedJobWaitTime
protected int asyncFailedJobWaitTimedefine the default wait time for a failed async job in seconds -
processDiagramGenerator
Process diagram generator. Default value is DefaultProcessDiagramGenerator -
isCreateDiagramOnDeploy
protected boolean isCreateDiagramOnDeploy -
alwaysUseArraysForDmnMultiHitPolicies
protected boolean alwaysUseArraysForDmnMultiHitPolicies -
drawSequenceFlowNameWithNoLabelDI
protected boolean drawSequenceFlowNameWithNoLabelDIinclude the sequence flow name in case there's no Label DI, -
defaultCamelContext
-
activityFontName
-
labelFontName
-
annotationFontName
-
enableProcessDefinitionInfoCache
protected boolean enableProcessDefinitionInfoCache -
enableHistoryCleaning
protected boolean enableHistoryCleaning -
historyCleaningTimeCycleConfig
-
cleanInstancesEndedAfter
-
cleanInstancesBatchSize
protected int cleanInstancesBatchSize -
historyCleaningManager
-
taskPostProcessor
postprocessor for a task builder
-
-
Constructor Details
-
ProcessEngineConfiguration
protected ProcessEngineConfiguration()use one of the static createXxxx methods instead
-
-
Method Details
-
buildProcessEngine
-
createProcessEngineConfigurationFromResourceDefault
-
createProcessEngineConfigurationFromResource
public static ProcessEngineConfiguration createProcessEngineConfigurationFromResource(String resource) -
createProcessEngineConfigurationFromResource
public static ProcessEngineConfiguration createProcessEngineConfigurationFromResource(String resource, String beanName) -
createProcessEngineConfigurationFromInputStream
public static ProcessEngineConfiguration createProcessEngineConfigurationFromInputStream(InputStream inputStream) -
createProcessEngineConfigurationFromInputStream
public static ProcessEngineConfiguration createProcessEngineConfigurationFromInputStream(InputStream inputStream, String beanName) -
createStandaloneProcessEngineConfiguration
-
createStandaloneInMemProcessEngineConfiguration
-
getRepositoryService
-
getRuntimeService
-
getFormService
-
getTaskService
-
getHistoryService
-
getIdentityService
-
getManagementService
-
getProcessEngineConfiguration
-
getEngineName
- Specified by:
getEngineNamein classAbstractEngineConfiguration
-
setEngineName
-
getIdBlockSize
public int getIdBlockSize() -
setIdBlockSize
-
getHistory
-
setHistory
-
getDefaultMailClient
-
setDefaultMailClient
-
getDefaultMailServer
-
setDefaultMailServer
-
getOrCreateDefaultMaiLServer
-
getMailServerHost
-
setMailServerHost
-
getMailServerUsername
-
setMailServerUsername
-
getMailServerPassword
-
setMailServerPassword
-
getMailSessionJndi
-
setMailSessionJndi
-
getMailServerPort
public int getMailServerPort() -
setMailServerPort
-
getMailServerDefaultCharset
-
setMailServerDefaultCharset
-
getMailServerSSLPort
public int getMailServerSSLPort() -
setMailServerSSLPort
-
getMailServerUseSSL
public boolean getMailServerUseSSL() -
setMailServerUseSSL
-
getMailServerUseTLS
public boolean getMailServerUseTLS() -
setMailServerUseTLS
-
getMailServerDefaultFrom
-
setMailServerDefaultFrom
-
getMailServerForceTo
-
setMailServerForceTo
-
getMailServer
-
getMailServers
-
setMailServers
-
getMailClient
-
getMailClients
-
setMailClients
-
getMailSessionJndi
-
getMailSessionsJndi
-
setMailSessionsJndi
-
getHttpClientConfig
-
setHttpClientConfig
-
setDatabaseType
- Overrides:
setDatabaseTypein classAbstractEngineConfiguration
-
setDatabaseSchemaUpdate
- Overrides:
setDatabaseSchemaUpdatein classAbstractEngineConfiguration
-
setDataSource
- Overrides:
setDataSourcein classAbstractEngineConfiguration
-
setJdbcDriver
- Overrides:
setJdbcDriverin classAbstractEngineConfiguration
-
setJdbcUrl
- Overrides:
setJdbcUrlin classAbstractEngineConfiguration
-
setJdbcUsername
- Overrides:
setJdbcUsernamein classAbstractEngineConfiguration
-
setJdbcPassword
- Overrides:
setJdbcPasswordin classAbstractEngineConfiguration
-
setTransactionsExternallyManaged
public ProcessEngineConfiguration setTransactionsExternallyManaged(boolean transactionsExternallyManaged) - Overrides:
setTransactionsExternallyManagedin classAbstractEngineConfiguration
-
getHistoryLevel
-
setHistoryLevel
-
isEnableProcessDefinitionHistoryLevel
public boolean isEnableProcessDefinitionHistoryLevel() -
setEnableProcessDefinitionHistoryLevel
public ProcessEngineConfiguration setEnableProcessDefinitionHistoryLevel(boolean enableProcessDefinitionHistoryLevel) -
setJdbcMaxActiveConnections
- Overrides:
setJdbcMaxActiveConnectionsin classAbstractEngineConfiguration
-
setJdbcMaxIdleConnections
- Overrides:
setJdbcMaxIdleConnectionsin classAbstractEngineConfiguration
-
setJdbcMaxCheckoutTime
- Overrides:
setJdbcMaxCheckoutTimein classAbstractEngineConfiguration
-
setJdbcMaxWaitTime
- Overrides:
setJdbcMaxWaitTimein classAbstractEngineConfiguration
-
setJdbcPingEnabled
- Overrides:
setJdbcPingEnabledin classAbstractEngineConfiguration
-
setJdbcPingQuery
- Overrides:
setJdbcPingQueryin classAbstractEngineConfiguration
-
setJdbcPingConnectionNotUsedFor
- Overrides:
setJdbcPingConnectionNotUsedForin classAbstractEngineConfiguration
-
setJdbcDefaultTransactionIsolationLevel
public ProcessEngineConfiguration setJdbcDefaultTransactionIsolationLevel(int jdbcDefaultTransactionIsolationLevel) - Overrides:
setJdbcDefaultTransactionIsolationLevelin classAbstractEngineConfiguration
-
isAsyncExecutorActivate
public boolean isAsyncExecutorActivate() -
setAsyncExecutorActivate
-
isAsyncHistoryExecutorActivate
public boolean isAsyncHistoryExecutorActivate() -
setAsyncHistoryExecutorActivate
public ProcessEngineConfiguration setAsyncHistoryExecutorActivate(boolean asyncHistoryExecutorActivate) -
setClassLoader
- Overrides:
setClassLoaderin classAbstractEngineConfiguration
-
setUseClassForNameClassLoading
public ProcessEngineConfiguration setUseClassForNameClassLoading(boolean useClassForNameClassLoading) - Overrides:
setUseClassForNameClassLoadingin classAbstractEngineConfiguration
-
getJpaEntityManagerFactory
-
setJpaEntityManagerFactory
-
isJpaHandleTransaction
public boolean isJpaHandleTransaction() -
setJpaHandleTransaction
-
isJpaCloseEntityManager
public boolean isJpaCloseEntityManager() -
setJpaCloseEntityManager
-
getJpaPersistenceUnitName
-
setJpaPersistenceUnitName
-
setDataSourceJndiName
- Overrides:
setDataSourceJndiNamein classAbstractEngineConfiguration
-
getDefaultCamelContext
-
setDefaultCamelContext
-
isCreateDiagramOnDeploy
public boolean isCreateDiagramOnDeploy() -
setCreateDiagramOnDeploy
-
isDrawSequenceFlowNameWithNoLabelDI
public boolean isDrawSequenceFlowNameWithNoLabelDI() -
setDrawSequenceFlowNameWithNoLabelDI
public ProcessEngineConfiguration setDrawSequenceFlowNameWithNoLabelDI(boolean drawSequenceFlowNameWithNoLabelDI) -
getActivityFontName
-
setActivityFontName
-
getLabelFontName
-
setLabelFontName
-
getAnnotationFontName
-
setAnnotationFontName
-
setDatabaseTablePrefix
- Overrides:
setDatabaseTablePrefixin classAbstractEngineConfiguration
-
setTablePrefixIsSchema
- Overrides:
setTablePrefixIsSchemain classAbstractEngineConfiguration
-
setDatabaseWildcardEscapeCharacter
public ProcessEngineConfiguration setDatabaseWildcardEscapeCharacter(String databaseWildcardEscapeCharacter) - Overrides:
setDatabaseWildcardEscapeCharacterin classAbstractEngineConfiguration
-
setDatabaseCatalog
- Overrides:
setDatabaseCatalogin classAbstractEngineConfiguration
-
setDatabaseSchema
- Overrides:
setDatabaseSchemain classAbstractEngineConfiguration
-
setXmlEncoding
- Overrides:
setXmlEncodingin classAbstractEngineConfiguration
-
setClock
- Overrides:
setClockin classAbstractEngineConfiguration
-
getProcessDiagramGenerator
-
setProcessDiagramGenerator
public ProcessEngineConfiguration setProcessDiagramGenerator(ProcessDiagramGenerator processDiagramGenerator) -
getAsyncExecutor
-
setAsyncExecutor
-
getAsyncTaskExecutor
-
setAsyncTaskExecutor
-
getAsyncTaskInvokerTaskExecutor
-
setAsyncTaskInvokerTaskExecutor
public ProcessEngineConfiguration setAsyncTaskInvokerTaskExecutor(AsyncTaskExecutor asyncTaskInvokerTaskExecutor) -
getAsyncTaskInvoker
-
setAsyncTaskInvoker
-
getAsyncHistoryExecutor
-
setAsyncHistoryExecutor
-
getAsyncHistoryTaskExecutor
-
setAsyncHistoryTaskExecutor
public ProcessEngineConfiguration setAsyncHistoryTaskExecutor(AsyncTaskExecutor asyncHistoryTaskExecutor) -
getDefaultFailedJobWaitTime
public int getDefaultFailedJobWaitTime() -
setDefaultFailedJobWaitTime
-
getAsyncFailedJobWaitTime
public int getAsyncFailedJobWaitTime() -
setAsyncFailedJobWaitTime
-
isEnableProcessDefinitionInfoCache
public boolean isEnableProcessDefinitionInfoCache() -
setEnableProcessDefinitionInfoCache
public ProcessEngineConfiguration setEnableProcessDefinitionInfoCache(boolean enableProcessDefinitionInfoCache) -
getTaskPostProcessor
-
setTaskPostProcessor
-
isEnableHistoryCleaning
public boolean isEnableHistoryCleaning() -
setEnableHistoryCleaning
-
getHistoryCleaningTimeCycleConfig
-
setHistoryCleaningTimeCycleConfig
public ProcessEngineConfiguration setHistoryCleaningTimeCycleConfig(String historyCleaningTimeCycleConfig) -
getCleanInstancesEndedAfterNumberOfDays
Deprecated.usegetCleanInstancesEndedAfter()instead -
setCleanInstancesEndedAfterNumberOfDays
@Deprecated public ProcessEngineConfiguration setCleanInstancesEndedAfterNumberOfDays(int cleanInstancesEndedAfterNumberOfDays) Deprecated.usesetCleanInstancesEndedAfter(Duration)instead -
getCleanInstancesEndedAfter
-
setCleanInstancesEndedAfter
-
getCleanInstancesBatchSize
public int getCleanInstancesBatchSize() -
setCleanInstancesBatchSize
-
getHistoryCleaningManager
-
setHistoryCleaningManager
public ProcessEngineConfiguration setHistoryCleaningManager(HistoryCleaningManager historyCleaningManager) -
isAlwaysUseArraysForDmnMultiHitPolicies
public boolean isAlwaysUseArraysForDmnMultiHitPolicies() -
setAlwaysUseArraysForDmnMultiHitPolicies
public ProcessEngineConfiguration setAlwaysUseArraysForDmnMultiHitPolicies(boolean alwaysUseArraysForDmnMultiHitPolicies)
-
getCleanInstancesEndedAfter()instead