public abstract class ProcessEngineConfigurationImpl extends ProcessEngineConfiguration
authorizationEnabled, authorizationEnabledForCustomCode, classLoader, createIncidentOnFailedJobEnabled, databaseSchemaUpdate, databaseType, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultNumberOfRetries, hintJobExecutor, history, HISTORY_ACTIVITY, HISTORY_AUDIT, HISTORY_AUTO, HISTORY_DEFAULT, HISTORY_FULL, HISTORY_NONE, HISTORY_VARIABLE, idBlockSize, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcStatementTimeout, jdbcUrl, jdbcUsername, jobExecutorAcquireByDueDate, jobExecutorAcquireByPriority, jobExecutorActivate, jobExecutorDeploymentAware, jobExecutorPreferTimerJobs, jpaCloseEntityManager, jpaEntityManagerFactory, jpaHandleTransaction, jpaPersistenceUnitName, mailServerDefaultFrom, mailServerHost, mailServerPassword, mailServerPort, mailServerUsername, processEngineName, producePrioritizedJobs, transactionsExternallyManaged, useTLS, valueTypeResolver
Constructor and Description |
---|
ProcessEngineConfigurationImpl() |
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getClassLoader, getDatabaseSchemaUpdate, getDatabaseType, getDataSource, getDataSourceJndiName, getDefaultNumberOfRetries, getHistory, getIdBlockSize, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcStatementTimeout, getJdbcUrl, getJdbcUsername, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServerUsername, getMailServerUseTLS, getValueTypeResolver, isAuthorizationEnabled, isAuthorizationEnabledForCustomCode, isCreateIncidentOnFailedJobEnabled, isHintJobExecutor, isJdbcPingEnabled, isJobExecutorAcquireByDueDate, isJobExecutorAcquireByPriority, isJobExecutorActivate, isJobExecutorDeploymentAware, isJobExecutorPreferTimerJobs, isJpaCloseEntityManager, isJpaHandleTransaction, isProducePrioritizedJobs, isTransactionsExternallyManaged, setAuthorizationEnabled, setAuthorizationEnabledForCustomCode, setCreateIncidentOnFailedJobEnabled, setDataSourceJndiName, setDefaultNumberOfRetries, setHintJobExecutor, setJdbcStatementTimeout, setJobExecutorAcquireByDueDate, setJobExecutorAcquireByPriority, setJobExecutorDeploymentAware, setJobExecutorPreferTimerJobs, setJpaPersistenceUnitName, setProducePrioritizedJobs, setValueTypeResolver
public static final String DB_SCHEMA_UPDATE_CREATE
public static final String DB_SCHEMA_UPDATE_DROP_CREATE
public static final int HISTORYLEVEL_NONE
public static final int HISTORYLEVEL_ACTIVITY
public static final int HISTORYLEVEL_AUDIT
public static final int HISTORYLEVEL_FULL
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 AuthorizationService authorizationService
protected CaseService caseService
protected FilterService filterService
protected ExternalTaskService externalTaskService
protected DecisionService decisionService
protected List<CommandInterceptor> customPreCommandInterceptorsTxRequired
processed
to build the commandExecutorTxRequired
protected List<CommandInterceptor> customPostCommandInterceptorsTxRequired
protected List<CommandInterceptor> commandInterceptorsTxRequired
protected CommandExecutor commandExecutorTxRequired
protected List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew
processed
to build the commandExecutorTxRequiresNew
protected List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew
protected List<CommandInterceptor> commandInterceptorsTxRequiresNew
protected CommandExecutor commandExecutorTxRequiresNew
protected CommandExecutor commandExecutorSchemaOperations
protected List<SessionFactory> customSessionFactories
protected DbSqlSessionFactory dbSqlSessionFactory
protected Map<Class<?>,SessionFactory> sessionFactories
protected DeploymentCache deploymentCache
protected boolean enableFetchProcessDefinitionDescription
protected List<JobHandler> customJobHandlers
protected Map<String,JobHandler> jobHandlers
protected JobExecutor jobExecutor
protected JobPriorityProvider jobPriorityProvider
protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory
protected org.apache.ibatis.transaction.TransactionFactory transactionFactory
protected IdGenerator idGenerator
protected DataSource idGeneratorDataSource
protected String idGeneratorDataSourceJndiName
protected Map<String,IncidentHandler> incidentHandlers
protected List<IncidentHandler> customIncidentHandlers
protected List<FormEngine> customFormEngines
protected Map<String,FormEngine> formEngines
protected List<AbstractFormFieldType> customFormTypes
protected FormTypes formTypes
protected FormValidators formValidators
protected Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators
protected List<TypedValueSerializer> customPreVariableSerializers
protected List<TypedValueSerializer> customPostVariableSerializers
protected VariableSerializers variableSerializers
protected VariableSerializerFactory fallbackSerializerFactory
protected String defaultSerializationFormat
protected String defaultCharsetName
protected Charset defaultCharset
protected ExpressionManager expressionManager
protected ScriptingEngines scriptingEngines
protected List<ResolverFactory> resolverFactories
protected ScriptingEnvironment scriptingEnvironment
protected List<ScriptEnvResolver> scriptEnvResolvers
protected ScriptFactory scriptFactory
protected boolean autoStoreScriptVariables
protected boolean enableScriptCompilation
protected boolean enableScriptEngineCaching
protected boolean enableFetchScriptEngineFromProcessApplication
protected boolean cmmnEnabled
protected boolean dmnEnabled
protected boolean enableGracefulDegradationOnContextSwitchFailure
protected BusinessCalendarManager businessCalendarManager
protected String wsSyncFactoryClassName
protected CommandContextFactory commandContextFactory
protected TransactionContextFactory transactionContextFactory
protected BpmnParseFactory bpmnParseFactory
protected CmmnTransformFactory cmmnTransformFactory
protected DefaultCmmnElementHandlerRegistry cmmnElementHandlerRegistry
protected DefaultDmnEngineConfiguration dmnEngineConfiguration
protected DmnEngine dmnEngine
protected HistoryLevel historyLevel
protected List<HistoryLevel> historyLevels
protected List<HistoryLevel> customHistoryLevels
protected List<BpmnParseListener> preParseListeners
protected List<BpmnParseListener> postParseListeners
protected List<CmmnTransformListener> customPreCmmnTransformListeners
protected List<CmmnTransformListener> customPostCmmnTransformListeners
protected boolean isDbIdentityUsed
protected boolean isDbHistoryUsed
protected DelegateInterceptor delegateInterceptor
protected CommandInterceptor actualCommandExecutor
protected RejectedJobsHandler customRejectedJobsHandler
protected Map<String,EventHandler> eventHandlers
protected List<EventHandler> customEventHandlers
protected FailedJobCommandFactory failedJobCommandFactory
protected String databaseTablePrefix
protected String databaseSchema
protected boolean isCreateDiagramOnDeploy
protected ProcessApplicationManager processApplicationManager
protected CorrelationHandler correlationHandler
protected SessionFactory identityProviderSessionFactory
protected PasswordEncryptor passwordEncryptor
protected ResourceAuthorizationProvider resourceAuthorizationProvider
protected List<ProcessEnginePlugin> processEnginePlugins
protected HistoryEventProducer historyEventProducer
protected CmmnHistoryEventProducer cmmnHistoryEventProducer
protected DmnHistoryEventProducer dmnHistoryEventProducer
protected HistoryEventHandler historyEventHandler
protected boolean isExecutionTreePrefetchEnabled
protected boolean isDeploymentLockUsed
protected boolean isDbEntityCacheReuseEnabled
protected boolean isInvokeCustomVariableListeners
protected ProcessEngineImpl processEngine
protected ArtifactFactory artifactFactory
protected DbEntityCacheKeyMapping dbEntityCacheKeyMapping
protected MetricsRegistry metricsRegistry
protected DbMetricsReporter dbMetricsReporter
protected boolean isMetricsEnabled
protected boolean isDbMetricsReporterActivate
protected MetricsReporterIdProvider metricsReporterIdProvider
protected boolean enableExpressionsInAdhocQueries
protected boolean enableExpressionsInStoredQueries
protected boolean restrictUserOperationLogToAuthenticatedUsers
protected boolean isBpmnStacktraceVerbose
protected boolean forceCloseMybatisConnectionPool
protected static Properties databaseTypeMappings
public ProcessEngine buildProcessEngine()
buildProcessEngine
in class ProcessEngineConfiguration
protected void init()
protected void invokePreInit()
protected void invokePostInit()
protected void invokePostProcessEngineBuild(ProcessEngine engine)
protected void initFailedJobCommandFactory()
protected void initIncidentHandlers()
protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
protected void initCommandExecutors()
protected void initActualCommandExecutor()
protected void initCommandInterceptorsTxRequired()
protected void initCommandInterceptorsTxRequiresNew()
protected void initCommandExecutorTxRequired()
protected void initCommandExecutorTxRequiresNew()
protected void initCommandExecutorDbSchemaOperations()
protected CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain)
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 InputStream getMyBatisXmlConfigurationSteam()
protected void initIdentityProviderSessionFactory()
protected void initSessionFactories()
protected void initPersistenceProviders()
protected void ensurePrefixAndSchemaFitToegether(String prefix, String schema)
protected void addSessionFactory(SessionFactory sessionFactory)
protected void initDeployers()
protected Collection<? extends Deployer> getDefaultDeployers()
protected BpmnDeployer getBpmnDeployer()
protected List<BpmnParseListener> getDefaultBPMNParseListeners()
protected CmmnDeployer getCmmnDeployer()
protected List<CmmnTransformListener> getDefaultCmmnTransformListeners()
protected DmnDeployer getDmnDeployer()
public DmnEngine getDmnEngine()
public void setDmnEngine(DmnEngine dmnEngine)
public DefaultDmnEngineConfiguration getDmnEngineConfiguration()
public void setDmnEngineConfiguration(DefaultDmnEngineConfiguration dmnEngineConfiguration)
protected void initJobExecutor()
protected void initJobProvider()
public void initHistoryLevel()
protected void initIdGenerator()
protected void initCommandContextFactory()
protected void initTransactionContextFactory()
protected void initValueTypeResolver()
protected void initDefaultCharset()
protected void initMetrics()
protected void initDefaultMetrics(MetricsRegistry metricsRegistry)
protected void initSerialization()
protected void initFormEngines()
protected void initFormTypes()
protected void initFormFieldValidators()
protected void initScripting()
protected void initDmnEngine()
protected void initExpressionManager()
protected void initBusinessCalendarManager()
protected void initDelegateInterceptor()
protected void initEventHandlers()
protected void initJpa()
protected void initBeans()
protected void initArtifactFactory()
protected void initProcessApplicationManager()
protected void initCorrelationHandler()
protected void initHistoryEventProducer()
protected void initCmmnHistoryEventProducer()
protected void initDmnHistoryEventProducer()
protected void initHistoryEventHandler()
protected void initPasswordDigest()
protected void initDeploymentRegistration()
protected void initResourceAuthorizationProvider()
public String getProcessEngineName()
getProcessEngineName
in class ProcessEngineConfiguration
public HistoryLevel getHistoryLevel()
public void setHistoryLevel(HistoryLevel historyLevel)
public HistoryLevel getDefaultHistoryLevel()
public ProcessEngineConfigurationImpl setProcessEngineName(String processEngineName)
setProcessEngineName
in class ProcessEngineConfiguration
public List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequired()
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequired(List<CommandInterceptor> customPreCommandInterceptorsTxRequired)
public List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequired()
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequired(List<CommandInterceptor> customPostCommandInterceptorsTxRequired)
public List<CommandInterceptor> getCommandInterceptorsTxRequired()
public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequired(List<CommandInterceptor> commandInterceptorsTxRequired)
public CommandExecutor getCommandExecutorTxRequired()
public ProcessEngineConfigurationImpl setCommandExecutorTxRequired(CommandExecutor commandExecutorTxRequired)
public List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequiresNew()
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew)
public List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequiresNew()
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew)
public List<CommandInterceptor> getCommandInterceptorsTxRequiresNew()
public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequiresNew(List<CommandInterceptor> commandInterceptorsTxRequiresNew)
public CommandExecutor getCommandExecutorTxRequiresNew()
public ProcessEngineConfigurationImpl setCommandExecutorTxRequiresNew(CommandExecutor commandExecutorTxRequiresNew)
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 AuthorizationService getAuthorizationService()
public ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)
public CaseService getCaseService()
public void setCaseService(CaseService caseService)
public FilterService getFilterService()
public void setFilterService(FilterService filterService)
public ExternalTaskService getExternalTaskService()
public void setExternalTaskService(ExternalTaskService externalTaskService)
public DecisionService getDecisionService()
public void setDecisionService(DecisionService decisionService)
public Map<Class<?>,SessionFactory> getSessionFactories()
public ProcessEngineConfigurationImpl setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)
public ProcessEngineConfigurationImpl setDeployers(List<Deployer> deployers)
public JobExecutor getJobExecutor()
public ProcessEngineConfigurationImpl setJobExecutor(JobExecutor jobExecutor)
public JobPriorityProvider getJobPriorityProvider()
public void setJobPriorityProvider(JobPriorityProvider jobPriorityProvider)
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 VariableSerializers getVariableSerializers()
public VariableSerializerFactory getFallbackSerializerFactory()
public void setFallbackSerializerFactory(VariableSerializerFactory fallbackSerializerFactory)
public ProcessEngineConfigurationImpl setVariableTypes(VariableSerializers variableSerializers)
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 void setEnableFetchProcessDefinitionDescription(boolean enableFetchProcessDefinitionDescription)
public boolean getEnableFetchProcessDefinitionDescription()
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<AbstractFormFieldType> getCustomFormTypes()
public ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormFieldType> customFormTypes)
public List<TypedValueSerializer> getCustomPreVariableSerializers()
public ProcessEngineConfigurationImpl setCustomPreVariableSerializers(List<TypedValueSerializer> customPreVariableTypes)
public List<TypedValueSerializer> getCustomPostVariableSerializers()
public ProcessEngineConfigurationImpl setCustomPostVariableSerializers(List<TypedValueSerializer> customPostVariableTypes)
public List<BpmnParseListener> getCustomPreBPMNParseListeners()
public void setCustomPreBPMNParseListeners(List<BpmnParseListener> preParseListeners)
public List<BpmnParseListener> getCustomPostBPMNParseListeners()
public void setCustomPostBPMNParseListeners(List<BpmnParseListener> postParseListeners)
@Deprecated public List<BpmnParseListener> getPreParseListeners()
getCustomPreBPMNParseListeners()
instead.@Deprecated public void setPreParseListeners(List<BpmnParseListener> preParseListeners)
@Deprecated public List<BpmnParseListener> getPostParseListeners()
getCustomPostBPMNParseListeners()
instead.@Deprecated public void setPostParseListeners(List<BpmnParseListener> postParseListeners)
public List<CmmnTransformListener> getCustomPreCmmnTransformListeners()
public void setCustomPreCmmnTransformListeners(List<CmmnTransformListener> customPreCmmnTransformListeners)
public List<CmmnTransformListener> getCustomPostCmmnTransformListeners()
public void setCustomPostCmmnTransformListeners(List<CmmnTransformListener> customPostCmmnTransformListeners)
public ProcessEngineConfigurationImpl setClassLoader(ClassLoader classLoader)
setClassLoader
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setDatabaseType(String databaseType)
setDatabaseType
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setDataSource(DataSource dataSource)
setDataSource
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setDatabaseSchemaUpdate(String databaseSchemaUpdate)
setDatabaseSchemaUpdate
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setHistory(String history)
setHistory
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setIdBlockSize(int idBlockSize)
setIdBlockSize
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcDriver(String jdbcDriver)
setJdbcDriver
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcPassword(String jdbcPassword)
setJdbcPassword
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcUrl(String jdbcUrl)
setJdbcUrl
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcUsername(String jdbcUsername)
setJdbcUsername
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJobExecutorActivate(boolean jobExecutorActivate)
setJobExecutorActivate
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setMailServerDefaultFrom(String mailServerDefaultFrom)
setMailServerDefaultFrom
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setMailServerHost(String mailServerHost)
setMailServerHost
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setMailServerPassword(String mailServerPassword)
setMailServerPassword
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setMailServerPort(int mailServerPort)
setMailServerPort
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setMailServerUseTLS(boolean useTLS)
setMailServerUseTLS
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setMailServerUsername(String mailServerUsername)
setMailServerUsername
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcMaxActiveConnections(int jdbcMaxActiveConnections)
setJdbcMaxActiveConnections
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcMaxCheckoutTime(int jdbcMaxCheckoutTime)
setJdbcMaxCheckoutTime
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcMaxIdleConnections(int jdbcMaxIdleConnections)
setJdbcMaxIdleConnections
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcMaxWaitTime(int jdbcMaxWaitTime)
setJdbcMaxWaitTime
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setTransactionsExternallyManaged(boolean transactionsExternallyManaged)
setTransactionsExternallyManaged
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJpaEntityManagerFactory(Object jpaEntityManagerFactory)
setJpaEntityManagerFactory
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJpaHandleTransaction(boolean jpaHandleTransaction)
setJpaHandleTransaction
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJpaCloseEntityManager(boolean jpaCloseEntityManager)
setJpaCloseEntityManager
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcPingEnabled(boolean jdbcPingEnabled)
setJdbcPingEnabled
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcPingQuery(String jdbcPingQuery)
setJdbcPingQuery
in class ProcessEngineConfiguration
public ProcessEngineConfigurationImpl setJdbcPingConnectionNotUsedFor(int jdbcPingNotUsedFor)
setJdbcPingConnectionNotUsedFor
in class ProcessEngineConfiguration
public boolean isDbIdentityUsed()
public void setDbIdentityUsed(boolean isDbIdentityUsed)
public boolean isDbHistoryUsed()
public void setDbHistoryUsed(boolean isDbHistoryUsed)
public List<ResolverFactory> getResolverFactories()
public void setResolverFactories(List<ResolverFactory> resolverFactories)
public DeploymentCache getDeploymentCache()
public void setDeploymentCache(DeploymentCache deploymentCache)
public ProcessEngineConfigurationImpl setDelegateInterceptor(DelegateInterceptor delegateInterceptor)
public DelegateInterceptor getDelegateInterceptor()
public RejectedJobsHandler getCustomRejectedJobsHandler()
public ProcessEngineConfigurationImpl setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler)
public EventHandler getEventHandler(String eventType)
public void setEventHandlers(Map<String,EventHandler> eventHandlers)
public Map<String,EventHandler> getEventHandlers()
public List<EventHandler> getCustomEventHandlers()
public void setCustomEventHandlers(List<EventHandler> customEventHandlers)
public FailedJobCommandFactory getFailedJobCommandFactory()
public ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)
public ProcessEngineConfiguration setDatabaseTablePrefix(String databaseTablePrefix)
ProcessEngineConfiguration.DB_SCHEMA_UPDATE_CREATE_DROP
or ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE
, activiti will create the database tables
using the default names, regardless of the prefix configured here.public String getDatabaseTablePrefix()
public boolean isCreateDiagramOnDeploy()
public ProcessEngineConfiguration setCreateDiagramOnDeploy(boolean createDiagramOnDeploy)
public String getDatabaseSchema()
public void setDatabaseSchema(String databaseSchema)
public DataSource getIdGeneratorDataSource()
public void setIdGeneratorDataSource(DataSource idGeneratorDataSource)
public String getIdGeneratorDataSourceJndiName()
public void setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)
public ProcessApplicationManager getProcessApplicationManager()
public void setProcessApplicationManager(ProcessApplicationManager processApplicationManager)
public CommandExecutor getCommandExecutorSchemaOperations()
public void setCommandExecutorSchemaOperations(CommandExecutor commandExecutorSchemaOperations)
public CorrelationHandler getCorrelationHandler()
public void setCorrelationHandler(CorrelationHandler correlationHandler)
public ProcessEngineConfigurationImpl setHistoryEventHandler(HistoryEventHandler historyEventHandler)
public HistoryEventHandler getHistoryEventHandler()
public IncidentHandler getIncidentHandler(String incidentType)
public Map<String,IncidentHandler> getIncidentHandlers()
public void setIncidentHandlers(Map<String,IncidentHandler> incidentHandlers)
public List<IncidentHandler> getCustomIncidentHandlers()
public void setCustomIncidentHandlers(List<IncidentHandler> customIncidentHandlers)
public SessionFactory getIdentityProviderSessionFactory()
public void setIdentityProviderSessionFactory(SessionFactory identityProviderSessionFactory)
public void setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
public PasswordEncryptor getPasswordEncryptor()
public ResourceAuthorizationProvider getResourceAuthorizationProvider()
public void setResourceAuthorizationProvider(ResourceAuthorizationProvider resourceAuthorizationProvider)
public List<ProcessEnginePlugin> getProcessEnginePlugins()
public void setProcessEnginePlugins(List<ProcessEnginePlugin> processEnginePlugins)
public ProcessEngineConfigurationImpl setHistoryEventProducer(HistoryEventProducer historyEventProducer)
public HistoryEventProducer getHistoryEventProducer()
public ProcessEngineConfigurationImpl setCmmnHistoryEventProducer(CmmnHistoryEventProducer cmmnHistoryEventProducer)
public CmmnHistoryEventProducer getCmmnHistoryEventProducer()
public ProcessEngineConfigurationImpl setDmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer)
public DmnHistoryEventProducer getDmnHistoryEventProducer()
public Map<String,Class<? extends FormFieldValidator>> getCustomFormFieldValidators()
public void setCustomFormFieldValidators(Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators)
public void setFormValidators(FormValidators formValidators)
public FormValidators getFormValidators()
public boolean isExecutionTreePrefetchEnabled()
public void setExecutionTreePrefetchEnabled(boolean isExecutionTreePrefetchingEnabled)
public ProcessEngineImpl getProcessEngine()
public void setAutoStoreScriptVariables(boolean autoStoreScriptVariables)
public boolean isAutoStoreScriptVariables()
public void setEnableScriptCompilation(boolean enableScriptCompilation)
public boolean isEnableScriptCompilation()
public boolean isEnableGracefulDegradationOnContextSwitchFailure()
public void setEnableGracefulDegradationOnContextSwitchFailure(boolean enableGracefulDegradationOnContextSwitchFailure)
If set to true, the process engine will tolerate certain exceptions that may result from the fact that it cannot switch to the context of a process application that has made a deployment.
Affects the following scenarios:
public boolean isDeploymentLockUsed()
public void setDeploymentLockUsed(boolean isDeploymentLockUsed)
DeploymentBuilder.enableDuplicateFiltering()
works correctly in a clustered environment.public boolean isCmmnEnabled()
public void setCmmnEnabled(boolean cmmnEnabled)
public boolean isDmnEnabled()
public void setDmnEnabled(boolean dmnEnabled)
public ScriptFactory getScriptFactory()
public ScriptingEnvironment getScriptingEnvironment()
public void setScriptFactory(ScriptFactory scriptFactory)
public void setScriptingEnvironment(ScriptingEnvironment scriptingEnvironment)
public List<ScriptEnvResolver> getEnvScriptResolvers()
public void setEnvScriptResolvers(List<ScriptEnvResolver> scriptEnvResolvers)
public ProcessEngineConfiguration setArtifactFactory(ArtifactFactory artifactFactory)
public ArtifactFactory getArtifactFactory()
public String getDefaultSerializationFormat()
public ProcessEngineConfigurationImpl setDefaultSerializationFormat(String defaultSerializationFormat)
public ProcessEngineConfigurationImpl setDefaultCharsetName(String defaultCharsetName)
public ProcessEngineConfigurationImpl setDefaultCharset(Charset defautlCharset)
public Charset getDefaultCharset()
public boolean isDbEntityCacheReuseEnabled()
public ProcessEngineConfigurationImpl setDbEntityCacheReuseEnabled(boolean isDbEntityCacheReuseEnabled)
public DbEntityCacheKeyMapping getDbEntityCacheKeyMapping()
public ProcessEngineConfigurationImpl setDbEntityCacheKeyMapping(DbEntityCacheKeyMapping dbEntityCacheKeyMapping)
public ProcessEngineConfigurationImpl setCustomHistoryLevels(List<HistoryLevel> customHistoryLevels)
public List<HistoryLevel> getHistoryLevels()
public List<HistoryLevel> getCustomHistoryLevels()
public boolean isInvokeCustomVariableListeners()
public ProcessEngineConfigurationImpl setInvokeCustomVariableListeners(boolean isInvokeCustomVariableListeners)
public void close()
public MetricsRegistry getMetricsRegistry()
public ProcessEngineConfigurationImpl setMetricsRegistry(MetricsRegistry metricsRegistry)
public ProcessEngineConfigurationImpl setMetricsEnabled(boolean isMetricsEnabled)
public boolean isMetricsEnabled()
public DbMetricsReporter getDbMetricsReporter()
public ProcessEngineConfigurationImpl setDbMetricsReporter(DbMetricsReporter dbMetricsReporter)
public boolean isDbMetricsReporterActivate()
public ProcessEngineConfigurationImpl setDbMetricsReporterActivate(boolean isDbMetricsReporterEnabled)
public MetricsReporterIdProvider getMetricsReporterIdProvider()
public void setMetricsReporterIdProvider(MetricsReporterIdProvider metricsReporterIdProvider)
public boolean isEnableScriptEngineCaching()
public ProcessEngineConfigurationImpl setEnableScriptEngineCaching(boolean enableScriptEngineCaching)
public boolean isEnableFetchScriptEngineFromProcessApplication()
public ProcessEngineConfigurationImpl setEnableFetchScriptEngineFromProcessApplication(boolean enable)
public boolean isEnableExpressionsInAdhocQueries()
public void setEnableExpressionsInAdhocQueries(boolean enableExpressionsInAdhocQueries)
public boolean isEnableExpressionsInStoredQueries()
public void setEnableExpressionsInStoredQueries(boolean enableExpressionsInStoredQueries)
public ProcessEngineConfigurationImpl setBpmnStacktraceVerbose(boolean isBpmnStacktraceVerbose)
public boolean isBpmnStacktraceVerbose()
public boolean isForceCloseMybatisConnectionPool()
public ProcessEngineConfigurationImpl setForceCloseMybatisConnectionPool(boolean forceCloseMybatisConnectionPool)
public boolean isRestrictUserOperationLogToAuthenticatedUsers()
public ProcessEngineConfigurationImpl setRestrictUserOperationLogToAuthenticatedUsers(boolean restrictUserOperationLogToAuthenticatedUsers)
Copyright © 2018. All rights reserved.