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 |
asyncExecutorCorePoolSize
The minimal number of threads that are kept alive in the threadpool for job execution.
|
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 ExecuteAsyncRunnableFactory |
asyncExecutorExecuteAsyncRunnableFactory
Allows to define a custom factory for creating the
Runnable that is executed by the async executor. |
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 |
asyncExecutorMaxPoolSize
The maximum number of threads that are kept alive in the threadpool for job execution.
|
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 DeploymentCache<org.activiti.bpmn.model.BpmnModel> |
bpmnModelCache |
protected int |
bpmnModelCacheLimit |
protected BpmnParseFactory |
bpmnParseFactory |
protected BpmnParser |
bpmnParser |
protected 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<VariableType> |
customPostVariableTypes |
protected List<CommandInterceptor> |
customPreCommandInterceptors
the configurable list which will be
processed to build the commandExecutor |
protected List<Deployer> |
customPreDeployers |
protected List<VariableType> |
customPreVariableTypes |
protected RejectedJobsHandler |
customRejectedJobsHandler |
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 int |
DEFAULT_GENERIC_MAX_LENGTH_STRING |
static String |
DEFAULT_MYBATIS_MAPPING_FILE |
static int |
DEFAULT_ORACLE_MAX_LENGTH_STRING |
static String |
DEFAULT_WS_SYNC_FACTORY |
protected CommandConfig |
defaultCommandConfig |
protected DelegateInterceptor |
delegateInterceptor |
protected List<Deployer> |
deployers |
protected DeploymentManager |
deploymentManager |
protected DynamicBpmnService |
dynamicBpmnService |
protected boolean |
enableConfiguratorServiceLoader |
protected boolean |
enableDatabaseEventLogging |
protected boolean |
enableEventDispatcher |
protected boolean |
enableSafeBpmnXml
Set this to true if you want to have extra checks on the BPMN xml that is parsed.
|
protected ActivitiEventDispatcher |
eventDispatcher |
protected Map<String,EventHandler> |
eventHandlers |
protected List<ActivitiEventListener> |
eventListeners |
protected ExpressionManager |
expressionManager |
protected FailedJobCommandFactory |
failedJobCommandFactory |
protected Map<String,FormEngine> |
formEngines |
protected FormService |
formService |
protected FormTypes |
formTypes |
protected HistoryService |
historyService |
protected IdentityService |
identityService |
protected IdGenerator |
idGenerator |
protected DataSource |
idGeneratorDataSource |
protected String |
idGeneratorDataSourceJndiName |
protected boolean |
isBulkInsertEnabled
If set to true, enables bulk insert (grouping sql inserts together).
|
protected Map<String,JobHandler> |
jobHandlers |
protected 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 DeploymentCache<ProcessDefinitionEntity> |
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 TaskService |
taskService |
protected TransactionContextFactory |
transactionContextFactory |
protected org.apache.ibatis.transaction.TransactionFactory |
transactionFactory |
protected Map<String,List<ActivitiEventListener>> |
typedEventListeners |
protected VariableTypes |
variableTypes |
protected String |
wsSyncFactoryClassName |
activityFontName, asyncExecutor, asyncExecutorActivate, asyncExecutorEnabled, asyncFailedJobWaitTime, classLoader, clock, databaseCatalog, databaseSchema, databaseSchemaUpdate, databaseTablePrefix, databaseType, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultCamelContext, defaultFailedJobWaitTime, enableProcessDefinitionInfoCache, history, historyLevel, idBlockSize, isCreateDiagramOnDeploy, isDbHistoryUsed, isDbIdentityUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, jobExecutor, jobExecutorActivate, 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, getAsyncExecutor, getAsyncFailedJobWaitTime, getClassLoader, getClock, getDatabaseCatalog, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDataSource, getDataSourceJndiName, getDefaultCamelContext, getDefaultFailedJobWaitTime, getHistory, getHistoryLevel, getIdBlockSize, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getJobExecutor, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getLabelFontName, getLockTimeAsyncJobWaitTime, getMailServer, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServers, getMailServerUsername, getMailServerUseSSL, getMailServerUseTLS, getMailSessionJndi, getMailSessionJndi, getMailSessionsJndi, getProcessDiagramGenerator, getProcessEngineLifecycleListener, getProcessEngineName, getXmlEncoding, isAsyncExecutorActivate, isAsyncExecutorEnabled, isCreateDiagramOnDeploy, isDbHistoryUsed, isDbIdentityUsed, isEnableProcessDefinitionInfoCache, isJdbcPingEnabled, isJobExecutorActivate, isJpaCloseEntityManager, isJpaHandleTransaction, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, setActivityFontName, setAsyncExecutor, setAsyncExecutorActivate, setAsyncExecutorEnabled, setAsyncFailedJobWaitTime, setClassLoader, setClock, setCreateDiagramOnDeploy, setDatabaseCatalog, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDataSource, setDataSourceJndiName, setDbHistoryUsed, setDbIdentityUsed, setDefaultCamelContext, setDefaultFailedJobWaitTime, setEnableProcessDefinitionInfoCache, setHistory, setHistoryLevel, setIdBlockSize, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobExecutor, setJobExecutorActivate, setJpaCloseEntityManager, setJpaEntityManagerFactory, setJpaHandleTransaction, setJpaPersistenceUnitName, setLabelFontName, setLockTimeAsyncJobWaitTime, setMailServerDefaultFrom, setMailServerHost, setMailServerPassword, setMailServerPort, setMailServers, setMailServerUsername, setMailServerUseSSL, setMailServerUseTLS, setMailSessionJndi, setMailSessionsJndi, setProcessDiagramGenerator, setProcessEngineLifecycleListener, setProcessEngineName, setTablePrefixIsSchema, setTransactionsExternallyManaged, setUseClassForNameClassLoading, setXmlEncoding
public static final int DEFAULT_GENERIC_MAX_LENGTH_STRING
public static final int DEFAULT_ORACLE_MAX_LENGTH_STRING
public 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 CommandConfig defaultCommandConfig
protected CommandConfig schemaCommandConfig
protected CommandInterceptor commandInvoker
protected List<CommandInterceptor> customPreCommandInterceptors
processed
to build the commandExecutor
protected 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 DeploymentCache<ProcessDefinitionEntity> processDefinitionCache
protected int bpmnModelCacheLimit
protected DeploymentCache<org.activiti.bpmn.model.BpmnModel> bpmnModelCache
protected int processDefinitionInfoCacheLimit
protected ProcessDefinitionInfoCache processDefinitionInfoCache
protected int knowledgeBaseCacheLimit
protected DeploymentCache<Object> knowledgeBaseCache
protected List<JobHandler> customJobHandlers
protected Map<String,JobHandler> jobHandlers
protected int asyncExecutorCorePoolSize
DefaultAsyncJobExecutor
).protected int asyncExecutorMaxPoolSize
DefaultAsyncJobExecutor
).protected long asyncExecutorThreadKeepAliveTime
DefaultAsyncJobExecutor
).protected int asyncExecutorThreadPoolQueueSize
DefaultAsyncJobExecutor
).protected BlockingQueue<Runnable> asyncExecutorThreadPoolQueue
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
DefaultAsyncJobExecutor
).protected int asyncExecutorMaxTimerJobsPerAcquisition
DefaultAsyncJobExecutor
).protected int asyncExecutorMaxAsyncJobsDuePerAcquisition
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
DefaultAsyncJobExecutor
).protected int asyncExecutorTimerLockTimeInMillis
DefaultAsyncJobExecutor
).protected int asyncExecutorAsyncJobLockTimeInMillis
DefaultAsyncJobExecutor
).protected int asyncExecutorLockRetryWaitTimeInMillis
DefaultAsyncJobExecutor
).protected ExecuteAsyncRunnableFactory asyncExecutorExecuteAsyncRunnableFactory
Runnable
that is executed by the async executor.
(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 DataSource idGeneratorDataSource
protected String idGeneratorDataSourceJndiName
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<VariableType> customPreVariableTypes
protected List<VariableType> customPostVariableTypes
protected VariableTypes variableTypes
protected ExpressionManager expressionManager
protected ScriptingEngines scriptingEngines
protected List<ResolverFactory> resolverFactories
protected BusinessCalendarManager businessCalendarManager
protected String wsSyncFactoryClassName
protected CommandContextFactory commandContextFactory
protected TransactionContextFactory transactionContextFactory
protected DelegateInterceptor delegateInterceptor
protected RejectedJobsHandler customRejectedJobsHandler
protected Map<String,EventHandler> eventHandlers
protected List<EventHandler> customEventHandlers
protected FailedJobCommandFactory failedJobCommandFactory
protected boolean enableSafeBpmnXml
protected int batchSizeProcessInstances
protected int batchSizeTasks
protected boolean isBulkInsertEnabled
protected int maxNrOfStatementsInBulkInsert
protected boolean enableEventDispatcher
protected ActivitiEventDispatcher eventDispatcher
protected List<ActivitiEventListener> eventListeners
protected Map<String,List<ActivitiEventListener>> typedEventListeners
protected boolean enableDatabaseEventLogging
protected int maxLengthStringVariableType
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
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 ProcessEngineConfiguration
protected 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()
protected void initJobExecutor()
protected void initAsyncExecutor()
public void initHistoryLevel()
protected void initIdGenerator()
protected void initCommandContextFactory()
protected void initTransactionContextFactory()
protected void initVariableTypes()
protected int getMaxLengthString()
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 initEventDispatcher()
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()
public ProcessEngineConfigurationImpl setRepositoryService(RepositoryService repositoryService)
public RuntimeService getRuntimeService()
public ProcessEngineConfigurationImpl setRuntimeService(RuntimeService runtimeService)
public HistoryService getHistoryService()
public ProcessEngineConfigurationImpl setHistoryService(HistoryService historyService)
public IdentityService getIdentityService()
public ProcessEngineConfigurationImpl setIdentityService(IdentityService identityService)
public TaskService getTaskService()
public ProcessEngineConfigurationImpl setTaskService(TaskService taskService)
public FormService getFormService()
public ProcessEngineConfigurationImpl setFormService(FormService formService)
public ManagementService getManagementService()
public ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)
public DynamicBpmnService getDynamicBpmnService()
public ProcessEngineConfigurationImpl setDynamicBpmnService(DynamicBpmnService dynamicBpmnService)
public ProcessEngineConfiguration getProcessEngineConfiguration()
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 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 VariableTypes getVariableTypes()
public ProcessEngineConfigurationImpl setVariableTypes(VariableTypes variableTypes)
public ExpressionManager getExpressionManager()
public ProcessEngineConfigurationImpl setExpressionManager(ExpressionManager expressionManager)
public BusinessCalendarManager getBusinessCalendarManager()
public ProcessEngineConfigurationImpl setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager)
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 int getAsyncExecutorCorePoolSize()
public ProcessEngineConfigurationImpl setAsyncExecutorCorePoolSize(int asyncExecutorCorePoolSize)
public int getAsyncExecutorMaxPoolSize()
public ProcessEngineConfigurationImpl setAsyncExecutorMaxPoolSize(int asyncExecutorMaxPoolSize)
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 getAsyncExecutorTimerJobAcquireWaitTime()
public ProcessEngineConfigurationImpl setAsyncExecutorDefaultTimerJobAcquireWaitTime(int asyncExecutorDefaultTimerJobAcquireWaitTime)
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)
public ExecuteAsyncRunnableFactory getAsyncExecutorExecuteAsyncRunnableFactory()
public ProcessEngineConfigurationImpl setAsyncExecutorExecuteAsyncRunnableFactory(ExecuteAsyncRunnableFactory asyncExecutorExecuteAsyncRunnableFactory)
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<VariableType> getCustomPreVariableTypes()
public ProcessEngineConfigurationImpl setCustomPreVariableTypes(List<VariableType> customPreVariableTypes)
public List<VariableType> getCustomPostVariableTypes()
public ProcessEngineConfigurationImpl setCustomPostVariableTypes(List<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 RejectedJobsHandler getCustomRejectedJobsHandler()
public ProcessEngineConfigurationImpl setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler)
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 DataSource getIdGeneratorDataSource()
public ProcessEngineConfigurationImpl setIdGeneratorDataSource(DataSource idGeneratorDataSource)
public String getIdGeneratorDataSourceJndiName()
public ProcessEngineConfigurationImpl setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)
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 DeploymentCache<ProcessDefinitionEntity> getProcessDefinitionCache()
public ProcessEngineConfigurationImpl setProcessDefinitionCache(DeploymentCache<ProcessDefinitionEntity> processDefinitionCache)
public int getKnowledgeBaseCacheLimit()
public ProcessEngineConfigurationImpl setKnowledgeBaseCacheLimit(int knowledgeBaseCacheLimit)
public DeploymentCache<Object> getKnowledgeBaseCache()
public ProcessEngineConfigurationImpl setKnowledgeBaseCache(DeploymentCache<Object> knowledgeBaseCache)
public boolean isEnableSafeBpmnXml()
public ProcessEngineConfigurationImpl setEnableSafeBpmnXml(boolean enableSafeBpmnXml)
public ActivitiEventDispatcher getEventDispatcher()
public void setEventDispatcher(ActivitiEventDispatcher eventDispatcher)
public void setEnableEventDispatcher(boolean enableEventDispatcher)
public void setTypedEventListeners(Map<String,List<ActivitiEventListener>> typedListeners)
public void setEventListeners(List<ActivitiEventListener> eventListeners)
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 ProcessEngineConfigurationImpl setMaxNrOfStatementsInBulkInsert(int maxNrOfStatementsInBulkInsert)
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2016 Alfresco. All rights reserved.