public abstract class ProcessEngineConfigurationImpl extends ProcessEngineConfiguration
AUTHORIZATION_CHECK_REVOKE_ALWAYS, AUTHORIZATION_CHECK_REVOKE_AUTO, AUTHORIZATION_CHECK_REVOKE_NEVER, authorizationCheckRevokes, authorizationEnabled, authorizationEnabledForCustomCode, bootstrapCommand, classLoader, createIncidentOnFailedJobEnabled, databaseSchemaUpdate, databaseType, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultNumberOfRetries, defaultUserPermissionNameForTask, generalResourceWhitelistPattern, groupResourceWhitelistPattern, hintJobExecutor, history, HISTORY_ACTIVITY, HISTORY_AUDIT, HISTORY_AUTO, HISTORY_DEFAULT, HISTORY_FULL, HISTORY_NONE, HISTORY_VARIABLE, historyLevelCommand, 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, producePrioritizedExternalTasks, producePrioritizedJobs, schemaOperationsCommand, tenantCheckEnabled, tenantResourceWhitelistPattern, transactionsExternallyManaged, userResourceWhitelistPattern, useTLS, valueTypeResolver
Constructor and Description |
---|
ProcessEngineConfigurationImpl() |
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getAuthorizationCheckRevokes, getClassLoader, getDatabaseSchemaUpdate, getDatabaseType, getDataSource, getDataSourceJndiName, getDefaultNumberOfRetries, getDefaultUserPermissionNameForTask, getGeneralResourceWhitelistPattern, getGroupResourceWhitelistPattern, getHistory, getHistoryLevelCommand, getIdBlockSize, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcStatementTimeout, getJdbcUrl, getJdbcUsername, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServerUsername, getMailServerUseTLS, getProcessEngineBootstrapCommand, getSchemaOperationsCommand, getTenantResourceWhitelistPattern, getUserResourceWhitelistPattern, getValueTypeResolver, isAuthorizationEnabled, isAuthorizationEnabledForCustomCode, isCreateIncidentOnFailedJobEnabled, isHintJobExecutor, isJdbcPingEnabled, isJobExecutorAcquireByDueDate, isJobExecutorAcquireByPriority, isJobExecutorActivate, isJobExecutorDeploymentAware, isJobExecutorPreferTimerJobs, isJpaCloseEntityManager, isJpaHandleTransaction, isProducePrioritizedExternalTasks, isProducePrioritizedJobs, isTenantCheckEnabled, isTransactionsExternallyManaged, setAuthorizationCheckRevokes, setAuthorizationEnabled, setAuthorizationEnabledForCustomCode, setCreateIncidentOnFailedJobEnabled, setDataSourceJndiName, setDefaultNumberOfRetries, setDefaultUserPermissionNameForTask, setGeneralResourceWhitelistPattern, setGroupResourceWhitelistPattern, setHintJobExecutor, setHistoryLevelCommand, setJdbcStatementTimeout, setJobExecutorAcquireByDueDate, setJobExecutorAcquireByPriority, setJobExecutorDeploymentAware, setJobExecutorPreferTimerJobs, setJpaPersistenceUnitName, setProcessEngineBootstrapCommand, setProducePrioritizedExternalTasks, setProducePrioritizedJobs, setSchemaOperationsCommand, setTenantCheckEnabled, setTenantResourceWhitelistPattern, setUserResourceWhitelistPattern, setValueTypeResolver
protected static final ConfigurationLogger LOG
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
public static final int DEFAULT_FAILED_JOB_LISTENER_MAX_RETRIES
public static org.apache.ibatis.session.SqlSessionFactory cachedSqlSessionFactory
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 CacheFactory cacheFactory
protected int cacheCapacity
protected boolean enableFetchProcessDefinitionDescription
protected List<JobHandler> customJobHandlers
protected Map<String,JobHandler> jobHandlers
protected JobExecutor jobExecutor
protected PriorityProvider<JobDeclaration<?,?>> jobPriorityProvider
protected PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider
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 Map<String,BatchJobHandler<?>> batchHandlers
protected List<BatchJobHandler<?>> customBatchJobHandlers
protected int batchJobsPerSeed
protected int invocationsPerBatchJob
protected int batchPollTime
protected long batchJobPriority
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 boolean javaSerializationFormatEnabled
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 List<PasswordEncryptor> customPasswordChecker
protected PasswordManager passwordManager
protected SaltGenerator saltGenerator
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 isDeploymentSynchronized
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 disableStrictCallActivityValidation
protected boolean isBpmnStacktraceVerbose
protected boolean forceCloseMybatisConnectionPool
protected TenantIdProvider tenantIdProvider
protected List<CommandChecker> commandCheckers
protected MigrationActivityMatcher migrationActivityMatcher
protected List<MigrationActivityValidator> customPreMigrationActivityValidators
protected List<MigrationActivityValidator> customPostMigrationActivityValidators
protected MigrationInstructionGenerator migrationInstructionGenerator
protected List<MigrationInstructionValidator> customPreMigrationInstructionValidators
protected List<MigrationInstructionValidator> customPostMigrationInstructionValidators
protected List<MigrationInstructionValidator> migrationInstructionValidators
protected List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators
protected List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators
protected List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators
protected List<MigratingTransitionInstanceValidator> migratingTransitionInstanceValidators
protected List<MigratingCompensationInstanceValidator> migratingCompensationInstanceValidators
protected Permission defaultUserPermissionForTask
protected boolean isUseSharedSqlSessionFactory
protected static Properties databaseTypeMappings
protected static final String MY_SQL_PRODUCT_NAME
protected static final String MARIA_DB_PRODUCT_NAME
public ProcessEngine buildProcessEngine()
buildProcessEngine
in class ProcessEngineConfiguration
protected void init()
public void initHistoryCleanup()
protected void invokePreInit()
protected void invokePostInit()
protected void invokePostProcessEngineBuild(ProcessEngine engine)
protected void initFailedJobCommandFactory()
protected void initIncidentHandlers()
protected void initBatchHandlers()
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 String checkForMariaDb(DatabaseMetaData databaseMetaData, String databaseName)
protected void initTransactionFactory()
protected void initSqlSessionFactory()
public static void initSqlSessionFactoryProperties(Properties properties, String databaseTablePrefix, String databaseType)
protected InputStream getMyBatisXmlConfigurationSteam()
protected void initIdentityProviderSessionFactory()
protected void initSessionFactories()
protected void initPersistenceProviders()
protected void initMigration()
protected void initMigrationActivityMatcher()
protected void initMigrationInstructionGenerator()
protected void initMigrationInstructionValidators()
protected void initMigratingActivityInstanceValidators()
protected void initMigratingTransitionInstanceValidators()
protected void initMigratingCompensationInstanceValidators()
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 DecisionDefinitionDeployer getDecisionDefinitionDeployer()
protected DecisionRequirementsDefinitionDeployer getDecisionRequirementsDefinitionDeployer()
public DmnEngine getDmnEngine()
public void setDmnEngine(DmnEngine dmnEngine)
public DefaultDmnEngineConfiguration getDmnEngineConfiguration()
public void setDmnEngineConfiguration(DefaultDmnEngineConfiguration dmnEngineConfiguration)
protected void initJobExecutor()
protected void initJobProvider()
protected void initExternalTaskPriorityProvider()
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 initCommandCheckers()
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 initCacheFactory()
protected void initResourceAuthorizationProvider()
protected void initDefaultUserPermissionForTask()
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 PriorityProvider<JobDeclaration<?,?>> getJobPriorityProvider()
public void setJobPriorityProvider(PriorityProvider<JobDeclaration<?,?>> jobPriorityProvider)
public PriorityProvider<ExternalTaskActivityBehavior> getExternalTaskPriorityProvider()
public void setExternalTaskPriorityProvider(PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider)
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 setCacheFactory(CacheFactory cacheFactory)
public void setCacheCapacity(int cacheCapacity)
public void setEnableFetchProcessDefinitionDescription(boolean enableFetchProcessDefinitionDescription)
public boolean getEnableFetchProcessDefinitionDescription()
public Permission getDefaultUserPermissionForTask()
public ProcessEngineConfigurationImpl setDefaultUserPermissionForTask(Permission defaultUserPermissionForTask)
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)
NOTE: the prefix is not respected by automatic database schema management. If you use
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 Map<String,BatchJobHandler<?>> getBatchHandlers()
public void setBatchHandlers(Map<String,BatchJobHandler<?>> batchHandlers)
public List<BatchJobHandler<?>> getCustomBatchJobHandlers()
public void setCustomBatchJobHandlers(List<BatchJobHandler<?>> customBatchJobHandlers)
public int getBatchJobsPerSeed()
public void setBatchJobsPerSeed(int batchJobsPerSeed)
public int getInvocationsPerBatchJob()
public void setInvocationsPerBatchJob(int invocationsPerBatchJob)
public int getBatchPollTime()
public void setBatchPollTime(int batchPollTime)
public long getBatchJobPriority()
public void setBatchJobPriority(long batchJobPriority)
public SessionFactory getIdentityProviderSessionFactory()
public void setIdentityProviderSessionFactory(SessionFactory identityProviderSessionFactory)
public SaltGenerator getSaltGenerator()
public void setSaltGenerator(SaltGenerator saltGenerator)
public void setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
public PasswordEncryptor getPasswordEncryptor()
public List<PasswordEncryptor> getCustomPasswordChecker()
public void setCustomPasswordChecker(List<PasswordEncryptor> customPasswordChecker)
public PasswordManager getPasswordManager()
public void setPasswordManager(PasswordManager passwordManager)
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 isDeploymentSynchronized()
public void setDeploymentSynchronized(boolean deploymentSynchronized)
deploymentSynchronized
- true
when deployment must be synchronized,
false
when several depoloyments may be processed in parallelpublic 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 boolean isJavaSerializationFormatEnabled()
public void setJavaSerializationFormatEnabled(boolean javaSerializationFormatEnabled)
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)
public ProcessEngineConfigurationImpl setTenantIdProvider(TenantIdProvider tenantIdProvider)
public TenantIdProvider getTenantIdProvider()
public void setMigrationActivityMatcher(MigrationActivityMatcher migrationActivityMatcher)
public MigrationActivityMatcher getMigrationActivityMatcher()
public void setCustomPreMigrationActivityValidators(List<MigrationActivityValidator> customPreMigrationActivityValidators)
public List<MigrationActivityValidator> getCustomPreMigrationActivityValidators()
public void setCustomPostMigrationActivityValidators(List<MigrationActivityValidator> customPostMigrationActivityValidators)
public List<MigrationActivityValidator> getCustomPostMigrationActivityValidators()
public List<MigrationActivityValidator> getDefaultMigrationActivityValidators()
public void setMigrationInstructionGenerator(MigrationInstructionGenerator migrationInstructionGenerator)
public MigrationInstructionGenerator getMigrationInstructionGenerator()
public void setMigrationInstructionValidators(List<MigrationInstructionValidator> migrationInstructionValidators)
public List<MigrationInstructionValidator> getMigrationInstructionValidators()
public void setCustomPostMigrationInstructionValidators(List<MigrationInstructionValidator> customPostMigrationInstructionValidators)
public List<MigrationInstructionValidator> getCustomPostMigrationInstructionValidators()
public void setCustomPreMigrationInstructionValidators(List<MigrationInstructionValidator> customPreMigrationInstructionValidators)
public List<MigrationInstructionValidator> getCustomPreMigrationInstructionValidators()
public List<MigrationInstructionValidator> getDefaultMigrationInstructionValidators()
public void setMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators)
public List<MigratingActivityInstanceValidator> getMigratingActivityInstanceValidators()
public void setCustomPostMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators)
public List<MigratingActivityInstanceValidator> getCustomPostMigratingActivityInstanceValidators()
public void setCustomPreMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators)
public List<MigratingActivityInstanceValidator> getCustomPreMigratingActivityInstanceValidators()
public List<MigratingTransitionInstanceValidator> getMigratingTransitionInstanceValidators()
public List<MigratingCompensationInstanceValidator> getMigratingCompensationInstanceValidators()
public List<MigratingActivityInstanceValidator> getDefaultMigratingActivityInstanceValidators()
public List<MigratingTransitionInstanceValidator> getDefaultMigratingTransitionInstanceValidators()
public List<CommandChecker> getCommandCheckers()
public void setCommandCheckers(List<CommandChecker> commandCheckers)
public ProcessEngineConfigurationImpl setUseSharedSqlSessionFactory(boolean isUseSharedSqlSessionFactory)
public boolean isUseSharedSqlSessionFactory()
public boolean getDisableStrictCallActivityValidation()
public void setDisableStrictCallActivityValidation(boolean disableStrictCallActivityValidation)
public String getHistoryCleanupBatchWindowStartTime()
public void setHistoryCleanupBatchWindowStartTime(String historyCleanupBatchWindowStartTime)
public String getHistoryCleanupBatchWindowEndTime()
public void setHistoryCleanupBatchWindowEndTime(String historyCleanupBatchWindowEndTime)
public Date getHistoryCleanupBatchWindowStartTimeAsDate()
public void setHistoryCleanupBatchWindowStartTimeAsDate(Date historyCleanupBatchWindowStartTimeAsDate)
public void setHistoryCleanupBatchWindowEndTimeAsDate(Date historyCleanupBatchWindowEndTimeAsDate)
public Date getHistoryCleanupBatchWindowEndTimeAsDate()
public int getHistoryCleanupBatchSize()
public void setHistoryCleanupBatchSize(int historyCleanupBatchSize)
public int getHistoryCleanupBatchThreshold()
public void setHistoryCleanupBatchThreshold(int historyCleanupBatchThreshold)
public int getFailedJobListenerMaxRetries()
public void setFailedJobListenerMaxRetries(int failedJobListenerMaxRetries)
Copyright © 2018. All rights reserved.