public abstract class ProcessEngineConfigurationImpl extends ProcessEngineConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected ActivityBehaviorFactory |
activityBehaviorFactory |
protected List<ProcessEngineConfigurator> |
allConfigurators |
protected int |
asyncExecutorAsyncJobLockTimeInMillis
The amount of time (in milliseconds) an async job is locked when acquired by the async executor.
|
protected int |
asyncExecutorDefaultAsyncJobAcquireWaitTime
The time (in milliseconds) the async job acquisition thread will wait to execute the next acquirement query.
|
protected int |
asyncExecutorDefaultQueueSizeFullWaitTime
The time (in milliseconds) the async job (both timer and async continuations) acquisition thread will wait when the queueu is full to execute the next query.
|
protected int |
asyncExecutorDefaultTimerJobAcquireWaitTime
The time (in milliseconds) the timer acquisition thread will wait to execute the next acquirement query.
|
protected String |
asyncExecutorLockOwner
When a job is acquired, it is locked so other async executors can't lock and execute it.
|
protected int |
asyncExecutorLockRetryWaitTimeInMillis
The amount of time (in milliseconds) that is waited before trying locking again, when an exclusive job is tried to be locked, but fails and the locking.
|
protected int |
asyncExecutorMaxAsyncJobsDuePerAcquisition
The number of async jobs that are acquired during one query (before a job is executed, an acquirement thread fetches jobs from the database and puts them on the queue).
|
protected int |
asyncExecutorMaxTimerJobsPerAcquisition
The number of timer jobs that are acquired during one query (before a job is executed, an acquirement thread fetches jobs from the database and puts them on the queue).
|
protected long |
asyncExecutorSecondsToWaitOnShutdown
The time (in seconds) that is waited to gracefully shut down the threadpool used for job execution when the a shutdown on the executor (or process engine) is requested.
|
protected long |
asyncExecutorThreadKeepAliveTime
The time (in milliseconds) a thread used for job execution must be kept alive before it is destroyed.
|
protected BlockingQueue<Runnable> |
asyncExecutorThreadPoolQueue
The queue onto which jobs will be placed before they are actually executed.
|
protected int |
asyncExecutorThreadPoolQueueSize
The size of the queue on which jobs to be executed are placed, before they are actually executed.
|
protected int |
asyncExecutorTimerLockTimeInMillis
The amount of time (in milliseconds) a timer job is locked when acquired by the async executor.
|
protected int |
batchSizeProcessInstances
The following settings will determine the amount of entities loaded at once when the engine needs to load multiple entities (eg.
|
protected int |
batchSizeTasks |
protected Map<Object,Object> |
beans |
protected BpmnDeployer |
bpmnDeployer |
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<org.flowable.bpmn.model.BpmnModel> |
bpmnModelCache |
protected int |
bpmnModelCacheLimit |
protected BpmnParseFactory |
bpmnParseFactory |
protected BpmnParser |
bpmnParser |
protected org.flowable.common.engine.impl.calendar.BusinessCalendarManager |
businessCalendarManager |
protected CommandContextFactory |
commandContextFactory |
protected CommandExecutor |
commandExecutor
this will be initialized during the configurationComplete()
|
protected List<CommandInterceptor> |
commandInterceptors |
protected CommandInterceptor |
commandInvoker |
protected List<ProcessEngineConfigurator> |
configurators |
protected List<BpmnParseHandler> |
customDefaultBpmnParseHandlers |
protected List<EventHandler> |
customEventHandlers |
protected List<FormEngine> |
customFormEngines |
protected List<AbstractFormType> |
customFormTypes |
protected List<JobHandler> |
customJobHandlers |
protected Set<Class<?>> |
customMybatisMappers |
protected Set<String> |
customMybatisXMLMappers |
protected List<CommandInterceptor> |
customPostCommandInterceptors |
protected List<Deployer> |
customPostDeployers |
protected List<org.flowable.variable.api.types.VariableType> |
customPostVariableTypes |
protected List<CommandInterceptor> |
customPreCommandInterceptors
the configurable list which will be
processed to build the commandExecutor |
protected List<Deployer> |
customPreDeployers |
protected List<org.flowable.variable.api.types.VariableType> |
customPreVariableTypes |
protected List<String> |
customScriptingEngineClasses |
protected List<SessionFactory> |
customSessionFactories |
static String |
DATABASE_TYPE_DB2 |
static String |
DATABASE_TYPE_H2 |
static String |
DATABASE_TYPE_HSQL |
static String |
DATABASE_TYPE_MSSQL |
static String |
DATABASE_TYPE_MYSQL |
static String |
DATABASE_TYPE_ORACLE |
static String |
DATABASE_TYPE_POSTGRES |
protected static Properties |
databaseTypeMappings |
static String |
DB_SCHEMA_UPDATE_CREATE |
static String |
DB_SCHEMA_UPDATE_DROP_CREATE |
protected DbSqlSessionFactory |
dbSqlSessionFactory |
static String |
DEFAULT_MYBATIS_MAPPING_FILE |
static String |
DEFAULT_WS_SYNC_FACTORY |
protected CommandConfig |
defaultCommandConfig |
protected DelegateExpressionFieldInjectionMode |
delegateExpressionFieldInjectionMode
Using field injection together with a delegate expression for a service task / execution listener / task listener is not thread-sade , see user guide section 'Field Injection' for more
information.
|
protected DelegateInterceptor |
delegateInterceptor |
protected List<Deployer> |
deployers |
protected DeploymentManager |
deploymentManager |
protected DynamicBpmnService |
dynamicBpmnService |
protected boolean |
enableConfiguratorServiceLoader |
protected boolean |
enableDatabaseEventLogging |
protected boolean |
enableEventDispatcher |
protected boolean |
enableProcessDefinitionInfoCache |
protected boolean |
enableSafeBpmnXml
Set this to true if you want to have extra checks on the BPMN xml that is parsed.
|
protected org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher |
eventDispatcher |
protected Map<String,EventHandler> |
eventHandlers |
protected int |
executionQueryLimit |
protected ExpressionManager |
expressionManager |
protected FailedJobCommandFactory |
failedJobCommandFactory |
protected Flowable5CompatibilityHandler |
flowable5CompatibilityHandler |
protected Map<String,FormEngine> |
formEngines |
protected FormService |
formService |
protected FormTypes |
formTypes |
protected int |
historicProcessInstancesQueryLimit |
protected int |
historicTaskQueryLimit |
protected HistoryService |
historyService |
protected IdentityService |
identityService |
protected IdGenerator |
idGenerator |
protected org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher |
idmEventDispatcher |
protected boolean |
isBulkInsertEnabled
If set to true, enables bulk insert (grouping sql inserts together).
|
protected Map<String,JobHandler> |
jobHandlers |
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> |
knowledgeBaseCache |
protected int |
knowledgeBaseCacheLimit |
protected ListenerFactory |
listenerFactory |
protected ManagementService |
managementService |
protected int |
maxLengthStringVariableType
Define a max length for storing String variable types in the database.
|
protected int |
maxNrOfStatementsInBulkInsert
Some databases have a limit of how many parameters one sql insert can have (eg SQL Server, 2000 params (!= insert statements) ).
|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected List<BpmnParseHandler> |
postBpmnParseHandlers |
protected List<BpmnParseHandler> |
preBpmnParseHandlers |
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> |
processDefinitionCache |
protected int |
processDefinitionCacheLimit |
protected ProcessDefinitionInfoCache |
processDefinitionInfoCache |
protected int |
processDefinitionInfoCacheLimit |
protected ProcessValidator |
processValidator |
protected RepositoryService |
repositoryService |
protected List<ResolverFactory> |
resolverFactories |
protected RuntimeService |
runtimeService |
protected CommandConfig |
schemaCommandConfig |
protected ScriptingEngines |
scriptingEngines |
protected Map<Class<?>,SessionFactory> |
sessionFactories |
protected org.apache.ibatis.session.SqlSessionFactory |
sqlSessionFactory |
protected int |
taskQueryLimit |
protected TaskService |
taskService |
protected TransactionContextFactory |
transactionContextFactory |
protected org.apache.ibatis.transaction.TransactionFactory |
transactionFactory |
protected org.flowable.variable.api.types.VariableTypes |
variableTypes |
protected ConcurrentMap<QName,URL> |
wsOverridenEndpointAddresses |
protected String |
wsSyncFactoryClassName |
activityFontName, annotationFontName, asyncExecutor, asyncExecutorActivate, asyncFailedJobWaitTime, classLoader, clock, databaseCatalog, databaseSchema, databaseSchemaUpdate, databaseTablePrefix, databaseType, databaseWildcardEscapeCharacter, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultCamelContext, defaultFailedJobWaitTime, drawSequenceFlowNameWithNoLabelDI, history, historyLevel, idBlockSize, isCreateDiagramOnDeploy, isDbHistoryUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, jobProcessors, jpaCloseEntityManager, jpaEntityManagerFactory, jpaHandleTransaction, jpaPersistenceUnitName, labelFontName, lockTimeAsyncJobWaitTime, mailServerDefaultFrom, mailServerHost, mailServerPassword, mailServerPort, mailServers, mailServerUsername, mailSessionJndi, mailSessionsJndi, NO_TENANT_ID, processDiagramGenerator, processEngineLifecycleListener, processEngineName, tablePrefixIsSchema, transactionsExternallyManaged, useClassForNameClassLoading, useSSL, useTLS, xmlEncoding| Constructor and Description |
|---|
ProcessEngineConfigurationImpl() |
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getActivityFontName, getAnnotationFontName, getAsyncExecutor, getAsyncFailedJobWaitTime, getClassLoader, getClock, getDatabaseCatalog, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDatabaseWildcardEscapeCharacter, getDataSource, getDataSourceJndiName, getDefaultCamelContext, getDefaultFailedJobWaitTime, getHistory, getHistoryLevel, getIdBlockSize, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getJobProcessors, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getLabelFontName, getLockTimeAsyncJobWaitTime, getMailServer, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServers, getMailServerUsername, getMailServerUseSSL, getMailServerUseTLS, getMailSessionJndi, getMailSessionJndi, getMailSessionsJndi, getProcessDiagramGenerator, getProcessEngineLifecycleListener, getProcessEngineName, getXmlEncoding, isAsyncExecutorActivate, isCreateDiagramOnDeploy, isDbHistoryUsed, isDrawSequenceFlowNameWithNoLabelDI, isEnableProcessDefinitionInfoCache, isJdbcPingEnabled, isJpaCloseEntityManager, isJpaHandleTransaction, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, setActivityFontName, setAnnotationFontName, setAsyncExecutor, setAsyncExecutorActivate, setAsyncFailedJobWaitTime, setClassLoader, setClock, setCreateDiagramOnDeploy, setDatabaseCatalog, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDatabaseWildcardEscapeCharacter, setDataSource, setDataSourceJndiName, setDbHistoryUsed, setDefaultCamelContext, setDefaultFailedJobWaitTime, setDrawSequenceFlowNameWithNoLabelDI, setEnableProcessDefinitionInfoCache, setHistory, setHistoryLevel, setIdBlockSize, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobProcessors, setJpaCloseEntityManager, setJpaEntityManagerFactory, setJpaHandleTransaction, setJpaPersistenceUnitName, setLabelFontName, setLockTimeAsyncJobWaitTime, setMailServerDefaultFrom, setMailServerHost, setMailServerPassword, setMailServerPort, setMailServers, setMailServerUsername, setMailServerUseSSL, setMailServerUseTLS, setMailSessionJndi, setMailSessionsJndi, setProcessDiagramGenerator, setProcessEngineLifecycleListener, setProcessEngineName, setTablePrefixIsSchema, setTransactionsExternallyManaged, setUseClassForNameClassLoading, setXmlEncodingpublic static final String DB_SCHEMA_UPDATE_CREATE
public static final String DB_SCHEMA_UPDATE_DROP_CREATE
public static final String DEFAULT_WS_SYNC_FACTORY
public static final String DEFAULT_MYBATIS_MAPPING_FILE
protected RepositoryService repositoryService
protected RuntimeService runtimeService
protected HistoryService historyService
protected IdentityService identityService
protected TaskService taskService
protected FormService formService
protected ManagementService managementService
protected DynamicBpmnService dynamicBpmnService
protected org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher idmEventDispatcher
protected CommandConfig defaultCommandConfig
protected CommandConfig schemaCommandConfig
protected CommandInterceptor commandInvoker
protected List<CommandInterceptor> customPreCommandInterceptors
processed to build the commandExecutorprotected List<CommandInterceptor> customPostCommandInterceptors
protected List<CommandInterceptor> commandInterceptors
protected CommandExecutor commandExecutor
protected List<SessionFactory> customSessionFactories
protected DbSqlSessionFactory dbSqlSessionFactory
protected Map<Class<?>,SessionFactory> sessionFactories
protected boolean enableConfiguratorServiceLoader
protected List<ProcessEngineConfigurator> configurators
protected List<ProcessEngineConfigurator> allConfigurators
protected BpmnDeployer bpmnDeployer
protected BpmnParser bpmnParser
protected DeploymentManager deploymentManager
protected int processDefinitionCacheLimit
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> processDefinitionCache
protected int bpmnModelCacheLimit
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<org.flowable.bpmn.model.BpmnModel> bpmnModelCache
protected int processDefinitionInfoCacheLimit
protected ProcessDefinitionInfoCache processDefinitionInfoCache
protected int knowledgeBaseCacheLimit
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> knowledgeBaseCache
protected List<JobHandler> customJobHandlers
protected Map<String,JobHandler> jobHandlers
protected long asyncExecutorThreadKeepAliveTime
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorThreadPoolQueueSize
DefaultAsyncJobExecutor).protected BlockingQueue<Runnable> asyncExecutorThreadPoolQueue
By default null. If null, an ArrayBlockingQueue will be created of size asyncExecutorThreadPoolQueueSize.
When the queue is full, the job will be executed by the calling thread (ThreadPoolExecutor.CallerRunsPolicy())
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected long asyncExecutorSecondsToWaitOnShutdown
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorMaxTimerJobsPerAcquisition
Default value = 1, as this lowers the potential on optimistic locking exceptions. Change this value if you know what you are doing.
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorMaxAsyncJobsDuePerAcquisition
Default value = 1, as this lowers the potential on optimistic locking exceptions. Change this value if you know what you are doing.
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorDefaultTimerJobAcquireWaitTime
asyncExecutorMaxTimerJobsPerAcquisition. Default value = 10 seconds.
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorDefaultAsyncJobAcquireWaitTime
asyncExecutorMaxAsyncJobsDuePerAcquisition. Default value = 10 seconds.
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorDefaultQueueSizeFullWaitTime
protected String asyncExecutorLockOwner
By default, a random UUID will be generated when the executor is created.
It is important that each async executor instance in a cluster of Activiti engines has a different name!
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorTimerLockTimeInMillis
Default value = 5 minutes;
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorAsyncJobLockTimeInMillis
Default value = 5 minutes;
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected int asyncExecutorLockRetryWaitTimeInMillis
Default value = 500. If 0, this would stress database traffic a lot in case when a retry is needed, as exclusive jobs would be constantly tried to be locked.
(This property is only applicable when using the DefaultAsyncJobExecutor).
protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory
protected org.apache.ibatis.transaction.TransactionFactory transactionFactory
protected IdGenerator idGenerator
protected List<BpmnParseHandler> preBpmnParseHandlers
protected List<BpmnParseHandler> postBpmnParseHandlers
protected List<BpmnParseHandler> customDefaultBpmnParseHandlers
protected ActivityBehaviorFactory activityBehaviorFactory
protected ListenerFactory listenerFactory
protected BpmnParseFactory bpmnParseFactory
protected ProcessValidator processValidator
protected List<FormEngine> customFormEngines
protected Map<String,FormEngine> formEngines
protected List<AbstractFormType> customFormTypes
protected FormTypes formTypes
protected List<org.flowable.variable.api.types.VariableType> customPreVariableTypes
protected List<org.flowable.variable.api.types.VariableType> customPostVariableTypes
protected org.flowable.variable.api.types.VariableTypes variableTypes
protected ExpressionManager expressionManager
protected ScriptingEngines scriptingEngines
protected List<ResolverFactory> resolverFactories
protected org.flowable.common.engine.impl.calendar.BusinessCalendarManager businessCalendarManager
protected int executionQueryLimit
protected int taskQueryLimit
protected int historicTaskQueryLimit
protected int historicProcessInstancesQueryLimit
protected String wsSyncFactoryClassName
protected ConcurrentMap<QName,URL> wsOverridenEndpointAddresses
protected CommandContextFactory commandContextFactory
protected TransactionContextFactory transactionContextFactory
protected DelegateInterceptor delegateInterceptor
protected Map<String,EventHandler> eventHandlers
protected List<EventHandler> customEventHandlers
protected FailedJobCommandFactory failedJobCommandFactory
protected boolean enableSafeBpmnXml
Unfortunately, this feature is not available on some platforms (JDK 6, JBoss), hence the reason why it is disabled by default. If your platform allows the use of StaxSource during XML parsing, do enable it.
protected int batchSizeProcessInstances
The default setting is quite low, as not to surprise anyone with sudden memory spikes. Change it to something higher if the environment Activiti runs in allows it.
protected int batchSizeTasks
protected boolean isBulkInsertEnabled
protected int maxNrOfStatementsInBulkInsert
By default: 100.
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected boolean enableEventDispatcher
protected org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher eventDispatcher
protected boolean enableDatabaseEventLogging
protected DelegateExpressionFieldInjectionMode delegateExpressionFieldInjectionMode
Set this flag to false to throw an exception at runtime when a field is injected and a delegateExpression is used. Default is true for backwards compatibility.
protected int maxLengthStringVariableType
protected boolean enableProcessDefinitionInfoCache
protected Flowable5CompatibilityHandler flowable5CompatibilityHandler
protected static Properties databaseTypeMappings
public static final String DATABASE_TYPE_H2
public static final String DATABASE_TYPE_HSQL
public static final String DATABASE_TYPE_MYSQL
public static final String DATABASE_TYPE_ORACLE
public static final String DATABASE_TYPE_POSTGRES
public static final String DATABASE_TYPE_MSSQL
public static final String DATABASE_TYPE_DB2
public ProcessEngine buildProcessEngine()
buildProcessEngine in class ProcessEngineConfigurationprotected void init()
protected void initFailedJobCommandFactory()
protected void initCommandExecutors()
protected void initDefaultCommandConfig()
protected void initCommandInvoker()
protected void initCommandInterceptors()
protected Collection<? extends CommandInterceptor> getDefaultCommandInterceptors()
protected void initCommandExecutor()
protected CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain)
protected abstract CommandInterceptor createTransactionInterceptor()
protected void initServices()
protected void initService(Object service)
protected void initDataSource()
protected static Properties getDefaultDatabaseTypeMappings()
public void initDatabaseType()
protected void initTransactionFactory()
protected void initSqlSessionFactory()
protected org.apache.ibatis.session.Configuration initMybatisConfiguration(org.apache.ibatis.mapping.Environment environment,
Reader reader,
Properties properties)
protected void initMybatisTypeHandlers(org.apache.ibatis.session.Configuration configuration)
protected void initCustomMybatisMappers(org.apache.ibatis.session.Configuration configuration)
protected org.apache.ibatis.session.Configuration parseMybatisConfiguration(org.apache.ibatis.session.Configuration configuration,
org.apache.ibatis.builder.xml.XMLConfigBuilder parser)
protected org.apache.ibatis.session.Configuration parseCustomMybatisXMLMappers(org.apache.ibatis.session.Configuration configuration)
protected InputStream getResourceAsStream(String resource)
protected InputStream getMyBatisXmlConfigurationSteam()
public void setCustomMybatisXMLMappers(Set<String> customMybatisXMLMappers)
protected void initSessionFactories()
protected void addSessionFactory(SessionFactory sessionFactory)
protected void initConfigurators()
protected void configuratorsBeforeInit()
protected void configuratorsAfterInit()
protected void initDeployers()
protected Collection<? extends Deployer> getDefaultDeployers()
protected List<BpmnParseHandler> getDefaultBpmnParseHandlers()
protected List<BpmnParseHandler> getDefaultHistoryParseHandlers()
protected void initProcessDiagramGenerator()
protected void initJobHandlers()
public void initHistoryLevel()
protected void initIdGenerator()
protected void initCommandContextFactory()
protected void initTransactionContextFactory()
protected void initVariableTypes()
protected void initFormEngines()
protected void initFormTypes()
protected void initScriptingEngines()
protected void initExpressionManager()
protected void initBusinessCalendarManager()
protected void initDelegateInterceptor()
protected void initEventHandlers()
protected void initJpa()
protected void initBeans()
protected void initProcessValidator()
protected void initDatabaseEventLogging()
public CommandConfig getDefaultCommandConfig()
public void setDefaultCommandConfig(CommandConfig defaultCommandConfig)
public CommandConfig getSchemaCommandConfig()
public void setSchemaCommandConfig(CommandConfig schemaCommandConfig)
public CommandInterceptor getCommandInvoker()
public void setCommandInvoker(CommandInterceptor commandInvoker)
public List<CommandInterceptor> getCustomPreCommandInterceptors()
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptors(List<CommandInterceptor> customPreCommandInterceptors)
public List<CommandInterceptor> getCustomPostCommandInterceptors()
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptors(List<CommandInterceptor> customPostCommandInterceptors)
public List<CommandInterceptor> getCommandInterceptors()
public ProcessEngineConfigurationImpl setCommandInterceptors(List<CommandInterceptor> commandInterceptors)
public CommandExecutor getCommandExecutor()
public ProcessEngineConfigurationImpl setCommandExecutor(CommandExecutor commandExecutor)
public RepositoryService getRepositoryService()
getRepositoryService in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setRepositoryService(RepositoryService repositoryService)
public RuntimeService getRuntimeService()
getRuntimeService in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setRuntimeService(RuntimeService runtimeService)
public HistoryService getHistoryService()
getHistoryService in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setHistoryService(HistoryService historyService)
public IdentityService getIdentityService()
getIdentityService in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setIdentityService(IdentityService identityService)
public TaskService getTaskService()
getTaskService in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setTaskService(TaskService taskService)
public FormService getFormService()
getFormService in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setFormService(FormService formService)
public ManagementService getManagementService()
getManagementService in class ProcessEngineConfigurationpublic DynamicBpmnService getDynamicBpmnService()
public ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)
public ProcessEngineConfiguration getProcessEngineConfiguration()
getProcessEngineConfiguration in class ProcessEngineConfigurationpublic org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher getIdmEventDispatcher()
public ProcessEngineConfigurationImpl setIdmEventDispatcher(org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher idmEventDispatcher)
public Map<Class<?>,SessionFactory> getSessionFactories()
public ProcessEngineConfigurationImpl setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)
public List<ProcessEngineConfigurator> getConfigurators()
public ProcessEngineConfigurationImpl addConfigurator(ProcessEngineConfigurator configurator)
public ProcessEngineConfigurationImpl setConfigurators(List<ProcessEngineConfigurator> configurators)
public void setEnableConfiguratorServiceLoader(boolean enableConfiguratorServiceLoader)
public List<ProcessEngineConfigurator> getAllConfigurators()
public BpmnDeployer getBpmnDeployer()
public ProcessEngineConfigurationImpl setBpmnDeployer(BpmnDeployer bpmnDeployer)
public BpmnParser getBpmnParser()
public ProcessEngineConfigurationImpl setBpmnParser(BpmnParser bpmnParser)
public ProcessEngineConfigurationImpl setDeployers(List<Deployer> deployers)
public IdGenerator getIdGenerator()
public ProcessEngineConfigurationImpl setIdGenerator(IdGenerator idGenerator)
public String getWsSyncFactoryClassName()
public ProcessEngineConfigurationImpl setWsSyncFactoryClassName(String wsSyncFactoryClassName)
public ProcessEngineConfiguration addWsEndpointAddress(QName endpointName, URL address)
endpointName - The endpoint name for which a new address must be setaddress - The new address of the endpointpublic ProcessEngineConfiguration removeWsEndpointAddress(QName endpointName)
endpointName - The endpoint name for which the address definition must be removedpublic ConcurrentMap<QName,URL> getWsOverridenEndpointAddresses()
public ProcessEngineConfiguration setWsOverridenEndpointAddresses(ConcurrentMap<QName,URL> wsOverridenEndpointAdress)
public Map<String,FormEngine> getFormEngines()
public ProcessEngineConfigurationImpl setFormEngines(Map<String,FormEngine> formEngines)
public FormTypes getFormTypes()
public ProcessEngineConfigurationImpl setFormTypes(FormTypes formTypes)
public ScriptingEngines getScriptingEngines()
public ProcessEngineConfigurationImpl setScriptingEngines(ScriptingEngines scriptingEngines)
public org.flowable.variable.api.types.VariableTypes getVariableTypes()
public ProcessEngineConfigurationImpl setVariableTypes(org.flowable.variable.api.types.VariableTypes variableTypes)
public ExpressionManager getExpressionManager()
public ProcessEngineConfigurationImpl setExpressionManager(ExpressionManager expressionManager)
public org.flowable.common.engine.impl.calendar.BusinessCalendarManager getBusinessCalendarManager()
public ProcessEngineConfigurationImpl setBusinessCalendarManager(org.flowable.common.engine.impl.calendar.BusinessCalendarManager businessCalendarManager)
public int getExecutionQueryLimit()
public ProcessEngineConfigurationImpl setExecutionQueryLimit(int executionQueryLimit)
public int getTaskQueryLimit()
public ProcessEngineConfigurationImpl setTaskQueryLimit(int taskQueryLimit)
public int getHistoricTaskQueryLimit()
public ProcessEngineConfigurationImpl setHistoricTaskQueryLimit(int historicTaskQueryLimit)
public int getHistoricProcessInstancesQueryLimit()
public ProcessEngineConfigurationImpl setHistoricProcessInstancesQueryLimit(int historicProcessInstancesQueryLimit)
public CommandContextFactory getCommandContextFactory()
public ProcessEngineConfigurationImpl setCommandContextFactory(CommandContextFactory commandContextFactory)
public TransactionContextFactory getTransactionContextFactory()
public ProcessEngineConfigurationImpl setTransactionContextFactory(TransactionContextFactory transactionContextFactory)
public ProcessEngineConfigurationImpl setCustomPreDeployers(List<Deployer> customPreDeployers)
public ProcessEngineConfigurationImpl setCustomPostDeployers(List<Deployer> customPostDeployers)
public Map<String,JobHandler> getJobHandlers()
public ProcessEngineConfigurationImpl setJobHandlers(Map<String,JobHandler> jobHandlers)
public org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
public ProcessEngineConfigurationImpl setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
public DbSqlSessionFactory getDbSqlSessionFactory()
public ProcessEngineConfigurationImpl setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory)
public org.apache.ibatis.transaction.TransactionFactory getTransactionFactory()
public ProcessEngineConfigurationImpl setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory)
public List<SessionFactory> getCustomSessionFactories()
public ProcessEngineConfigurationImpl setCustomSessionFactories(List<SessionFactory> customSessionFactories)
public List<JobHandler> getCustomJobHandlers()
public ProcessEngineConfigurationImpl setCustomJobHandlers(List<JobHandler> customJobHandlers)
public List<FormEngine> getCustomFormEngines()
public ProcessEngineConfigurationImpl setCustomFormEngines(List<FormEngine> customFormEngines)
public List<AbstractFormType> getCustomFormTypes()
public ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormType> customFormTypes)
public ProcessEngineConfigurationImpl setCustomScriptingEngineClasses(List<String> customScriptingEngineClasses)
public List<org.flowable.variable.api.types.VariableType> getCustomPreVariableTypes()
public ProcessEngineConfigurationImpl setCustomPreVariableTypes(List<org.flowable.variable.api.types.VariableType> customPreVariableTypes)
public List<org.flowable.variable.api.types.VariableType> getCustomPostVariableTypes()
public ProcessEngineConfigurationImpl setCustomPostVariableTypes(List<org.flowable.variable.api.types.VariableType> customPostVariableTypes)
public List<BpmnParseHandler> getPreBpmnParseHandlers()
public ProcessEngineConfigurationImpl setPreBpmnParseHandlers(List<BpmnParseHandler> preBpmnParseHandlers)
public List<BpmnParseHandler> getCustomDefaultBpmnParseHandlers()
public ProcessEngineConfigurationImpl setCustomDefaultBpmnParseHandlers(List<BpmnParseHandler> customDefaultBpmnParseHandlers)
public List<BpmnParseHandler> getPostBpmnParseHandlers()
public ProcessEngineConfigurationImpl setPostBpmnParseHandlers(List<BpmnParseHandler> postBpmnParseHandlers)
public ActivityBehaviorFactory getActivityBehaviorFactory()
public ProcessEngineConfigurationImpl setActivityBehaviorFactory(ActivityBehaviorFactory activityBehaviorFactory)
public ListenerFactory getListenerFactory()
public ProcessEngineConfigurationImpl setListenerFactory(ListenerFactory listenerFactory)
public BpmnParseFactory getBpmnParseFactory()
public ProcessEngineConfigurationImpl setBpmnParseFactory(BpmnParseFactory bpmnParseFactory)
public ProcessEngineConfigurationImpl setBeans(Map<Object,Object> beans)
public List<ResolverFactory> getResolverFactories()
public ProcessEngineConfigurationImpl setResolverFactories(List<ResolverFactory> resolverFactories)
public DeploymentManager getDeploymentManager()
public ProcessEngineConfigurationImpl setDeploymentManager(DeploymentManager deploymentManager)
public ProcessEngineConfigurationImpl setDelegateInterceptor(DelegateInterceptor delegateInterceptor)
public DelegateInterceptor getDelegateInterceptor()
public EventHandler getEventHandler(String eventType)
public ProcessEngineConfigurationImpl setEventHandlers(Map<String,EventHandler> eventHandlers)
public Map<String,EventHandler> getEventHandlers()
public List<EventHandler> getCustomEventHandlers()
public ProcessEngineConfigurationImpl setCustomEventHandlers(List<EventHandler> customEventHandlers)
public FailedJobCommandFactory getFailedJobCommandFactory()
public ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)
public int getBatchSizeProcessInstances()
public ProcessEngineConfigurationImpl setBatchSizeProcessInstances(int batchSizeProcessInstances)
public int getBatchSizeTasks()
public ProcessEngineConfigurationImpl setBatchSizeTasks(int batchSizeTasks)
public int getProcessDefinitionCacheLimit()
public ProcessEngineConfigurationImpl setProcessDefinitionCacheLimit(int processDefinitionCacheLimit)
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> getProcessDefinitionCache()
public ProcessEngineConfigurationImpl setProcessDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> processDefinitionCache)
public int getKnowledgeBaseCacheLimit()
public ProcessEngineConfigurationImpl setKnowledgeBaseCacheLimit(int knowledgeBaseCacheLimit)
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> getKnowledgeBaseCache()
public ProcessEngineConfigurationImpl setKnowledgeBaseCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> knowledgeBaseCache)
public boolean isEnableSafeBpmnXml()
public ProcessEngineConfigurationImpl setEnableSafeBpmnXml(boolean enableSafeBpmnXml)
public org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher getEventDispatcher()
public void setEventDispatcher(org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher eventDispatcher)
public void setEnableEventDispatcher(boolean enableEventDispatcher)
public ProcessValidator getProcessValidator()
public void setProcessValidator(ProcessValidator processValidator)
public boolean isEnableEventDispatcher()
public boolean isEnableDatabaseEventLogging()
public ProcessEngineConfigurationImpl setEnableDatabaseEventLogging(boolean enableDatabaseEventLogging)
public int getMaxLengthStringVariableType()
public ProcessEngineConfigurationImpl setMaxLengthStringVariableType(int maxLengthStringVariableType)
public ProcessEngineConfigurationImpl setBulkInsertEnabled(boolean isBulkInsertEnabled)
public boolean isBulkInsertEnabled()
public int getMaxNrOfStatementsInBulkInsert()
public void setMaxNrOfStatementsInBulkInsert(int maxNrOfStatementsInBulkInsert)
public DelegateExpressionFieldInjectionMode getDelegateExpressionFieldInjectionMode()
public void setDelegateExpressionFieldInjectionMode(DelegateExpressionFieldInjectionMode delegateExpressionFieldInjectionMode)
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
public ProcessEngineConfigurationImpl setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public Flowable5CompatibilityHandler getFlowable5CompatibilityHandler()
public ProcessEngineConfigurationImpl setFlowable5CompatibilityHandler(Flowable5CompatibilityHandler flowable5CompatibilityHandler)
public long getAsyncExecutorThreadKeepAliveTime()
public ProcessEngineConfigurationImpl setAsyncExecutorThreadKeepAliveTime(long asyncExecutorThreadKeepAliveTime)
public int getAsyncExecutorThreadPoolQueueSize()
public ProcessEngineConfigurationImpl setAsyncExecutorThreadPoolQueueSize(int asyncExecutorThreadPoolQueueSize)
public BlockingQueue<Runnable> getAsyncExecutorThreadPoolQueue()
public ProcessEngineConfigurationImpl setAsyncExecutorThreadPoolQueue(BlockingQueue<Runnable> asyncExecutorThreadPoolQueue)
public long getAsyncExecutorSecondsToWaitOnShutdown()
public ProcessEngineConfigurationImpl setAsyncExecutorSecondsToWaitOnShutdown(long asyncExecutorSecondsToWaitOnShutdown)
public int getAsyncExecutorMaxTimerJobsPerAcquisition()
public ProcessEngineConfigurationImpl setAsyncExecutorMaxTimerJobsPerAcquisition(int asyncExecutorMaxTimerJobsPerAcquisition)
public int getAsyncExecutorMaxAsyncJobsDuePerAcquisition()
public ProcessEngineConfigurationImpl setAsyncExecutorMaxAsyncJobsDuePerAcquisition(int asyncExecutorMaxAsyncJobsDuePerAcquisition)
public int getAsyncExecutorDefaultTimerJobAcquireWaitTime()
public ProcessEngineConfigurationImpl setAsyncExecutorDefaultTimerJobAcquireWaitTime(int asyncExecutorTimerJobAcquireWaitTime)
public int getAsyncExecutorDefaultAsyncJobAcquireWaitTime()
public ProcessEngineConfigurationImpl setAsyncExecutorDefaultAsyncJobAcquireWaitTime(int asyncExecutorDefaultAsyncJobAcquireWaitTime)
public int getAsyncExecutorDefaultQueueSizeFullWaitTime()
public ProcessEngineConfigurationImpl setAsyncExecutorDefaultQueueSizeFullWaitTime(int asyncExecutorDefaultQueueSizeFullWaitTime)
public String getAsyncExecutorLockOwner()
public ProcessEngineConfigurationImpl setAsyncExecutorLockOwner(String asyncExecutorLockOwner)
public int getAsyncExecutorTimerLockTimeInMillis()
public ProcessEngineConfigurationImpl setAsyncExecutorTimerLockTimeInMillis(int asyncExecutorTimerLockTimeInMillis)
public int getAsyncExecutorAsyncJobLockTimeInMillis()
public ProcessEngineConfigurationImpl setAsyncExecutorAsyncJobLockTimeInMillis(int asyncExecutorAsyncJobLockTimeInMillis)
public int getAsyncExecutorLockRetryWaitTimeInMillis()
public ProcessEngineConfigurationImpl setAsyncExecutorLockRetryWaitTimeInMillis(int asyncExecutorLockRetryWaitTimeInMillis)
Copyright © 2018 Flowable. All rights reserved.