org.camunda.bpm.engine.impl.cfg
Class ProcessEngineConfigurationImpl

java.lang.Object
  extended by org.camunda.bpm.engine.ProcessEngineConfiguration
      extended by org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
Direct Known Subclasses:
JtaProcessEngineConfiguration, StandaloneProcessEngineConfiguration

public abstract class ProcessEngineConfigurationImpl
extends ProcessEngineConfiguration

Author:
Tom Baeyens

Field Summary
protected  CommandInterceptor actualCommandExecutor
           
protected  ArtifactFactory artifactFactory
          used to create instances for listeners, JavaDelegates, etc
protected  AuthorizationService authorizationService
           
protected  boolean autoStoreScriptVariables
           
protected  Map<String,BatchJobHandler<?>> batchHandlers
           
protected  long batchJobPriority
          default priority for batch jobs
protected  int batchJobsPerSeed
          Number of jobs created by a batch seed job invocation
protected  int batchPollTime
          seconds to wait between polling for batch completion
protected  Map<Object,Object> beans
           
protected  BpmnParseFactory bpmnParseFactory
           
protected  BusinessCalendarManager businessCalendarManager
           
protected  int cacheCapacity
           
static org.apache.ibatis.session.SqlSessionFactory cachedSqlSessionFactory
           
protected  CacheFactory cacheFactory
           
protected  CaseService caseService
           
protected  DefaultCmmnElementHandlerRegistry cmmnElementHandlerRegistry
           
protected  boolean cmmnEnabled
           
protected  CmmnHistoryEventProducer cmmnHistoryEventProducer
           
protected  CmmnTransformFactory cmmnTransformFactory
           
protected  List<CommandChecker> commandCheckers
           
protected  CommandContextFactory commandContextFactory
           
protected  CommandExecutor commandExecutorSchemaOperations
          Separate command executor to be used for db schema operations.
protected  CommandExecutor commandExecutorTxRequired
          this will be initialized during the configurationComplete()
protected  CommandExecutor commandExecutorTxRequiresNew
          this will be initialized during the configurationComplete()
protected  List<CommandInterceptor> commandInterceptorsTxRequired
           
protected  List<CommandInterceptor> commandInterceptorsTxRequiresNew
           
protected  CorrelationHandler correlationHandler
           
protected  List<BatchJobHandler<?>> customBatchJobHandlers
           
protected  List<EventHandler> customEventHandlers
           
protected  List<FormEngine> customFormEngines
           
protected  Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators
           
protected  List<AbstractFormFieldType> customFormTypes
           
protected  List<HistoryLevel> customHistoryLevels
          a list of supported custom history levels
protected  List<IncidentHandler> customIncidentHandlers
           
protected  List<JobHandler> customJobHandlers
           
protected  List<PasswordEncryptor> customPasswordChecker
           
protected  List<CmmnTransformListener> customPostCmmnTransformListeners
           
protected  List<CommandInterceptor> customPostCommandInterceptorsTxRequired
           
protected  List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew
           
protected  List<Deployer> customPostDeployers
           
protected  List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators
           
protected  List<MigrationActivityValidator> customPostMigrationActivityValidators
           
protected  List<MigrationInstructionValidator> customPostMigrationInstructionValidators
           
protected  List<TypedValueSerializer> customPostVariableSerializers
           
protected  List<CmmnTransformListener> customPreCmmnTransformListeners
           
protected  List<CommandInterceptor> customPreCommandInterceptorsTxRequired
          the configurable list which will be processed to build the commandExecutorTxRequired
protected  List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew
          the configurable list which will be processed to build the commandExecutorTxRequiresNew
protected  List<Deployer> customPreDeployers
           
protected  List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators
           
protected  List<MigrationActivityValidator> customPreMigrationActivityValidators
           
protected  List<MigrationInstructionValidator> customPreMigrationInstructionValidators
           
protected  List<TypedValueSerializer> customPreVariableSerializers
           
protected  RejectedJobsHandler customRejectedJobsHandler
           
protected  List<SessionFactory> customSessionFactories
           
protected  String databaseSchema
          In some situations you want to set the schema to use for table checks / generation if the database metadata doesn't return that correctly, see https://jira.codehaus.org/browse/ACT-1220, https://jira.codehaus.org/browse/ACT-1062
protected  String databaseTablePrefix
           
protected static Properties databaseTypeMappings
           
static String DB_SCHEMA_UPDATE_CREATE
           
static String DB_SCHEMA_UPDATE_DROP_CREATE
           
protected  DbEntityCacheKeyMapping dbEntityCacheKeyMapping
           
protected  DbMetricsReporter dbMetricsReporter
           
protected  DbSqlSessionFactory dbSqlSessionFactory
           
protected  DecisionService decisionService
           
static int DEFAULT_FAILED_JOB_LISTENER_MAX_RETRIES
           
static String DEFAULT_MYBATIS_MAPPING_FILE
           
static String DEFAULT_WS_SYNC_FACTORY
           
protected  Charset defaultCharset
           
protected  String defaultCharsetName
           
protected  String defaultSerializationFormat
           
protected  Permission defaultUserPermissionForTask
           
protected  DelegateInterceptor delegateInterceptor
           
protected  List<Deployer> deployers
           
protected  DeploymentCache deploymentCache
           
protected  boolean disableStrictCallActivityValidation
           
protected  boolean dmnEnabled
           
protected  org.camunda.bpm.dmn.engine.DmnEngine dmnEngine
           
protected  org.camunda.bpm.dmn.engine.impl.DefaultDmnEngineConfiguration dmnEngineConfiguration
           
protected  DmnHistoryEventProducer dmnHistoryEventProducer
           
protected  boolean enableExpressionsInAdhocQueries
          handling of expressions submitted via API; can be used as guards against remote code execution
protected  boolean enableExpressionsInStoredQueries
           
protected  boolean enableFetchProcessDefinitionDescription
           
protected  boolean enableFetchScriptEngineFromProcessApplication
           
protected  boolean enableGracefulDegradationOnContextSwitchFailure
           
protected  boolean enableScriptCompilation
           
protected  boolean enableScriptEngineCaching
           
protected  Map<String,EventHandler> eventHandlers
           
protected  ExpressionManager expressionManager
           
protected  PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider
           
protected  ExternalTaskService externalTaskService
           
protected  FailedJobCommandFactory failedJobCommandFactory
           
protected  VariableSerializerFactory fallbackSerializerFactory
           
protected  FilterService filterService
           
protected  boolean forceCloseMybatisConnectionPool
           
protected  Map<String,FormEngine> formEngines
           
protected  FormService formService
           
protected  FormTypes formTypes
           
protected  FormValidators formValidators
           
protected  HistoryEventHandler historyEventHandler
           
protected  HistoryEventProducer historyEventProducer
           
protected  HistoryLevel historyLevel
           
static int HISTORYLEVEL_ACTIVITY
           
static int HISTORYLEVEL_AUDIT
           
static int HISTORYLEVEL_FULL
           
static int HISTORYLEVEL_NONE
           
protected  List<HistoryLevel> historyLevels
          a list of supported history levels
protected  HistoryService historyService
           
protected  SessionFactory identityProviderSessionFactory
          session factory to be used for obtaining identity provider sessions
protected  IdentityService identityService
           
protected  IdGenerator idGenerator
           
protected  DataSource idGeneratorDataSource
           
protected  String idGeneratorDataSourceJndiName
           
protected  Map<String,IncidentHandler> incidentHandlers
           
protected  int invocationsPerBatchJob
          Number of invocations executed by a single batch job
protected  boolean isBpmnStacktraceVerbose
           
protected  boolean isCreateDiagramOnDeploy
           
protected  boolean isDbEntityCacheReuseEnabled
          Allows setting whether the process engine should try reusing the first level entity cache.
protected  boolean isDbHistoryUsed
           
protected  boolean isDbIdentityUsed
           
protected  boolean isDbMetricsReporterActivate
           
protected  boolean isDeploymentLockUsed
          If true the process engine will attempt to acquire an exclusive lock before creating a deployment.
protected  boolean isDeploymentSynchronized
          If true then several deployments will be processed strictly sequentally.
protected  boolean isExecutionTreePrefetchEnabled
           
protected  boolean isInvokeCustomVariableListeners
           
protected  boolean isMetricsEnabled
           
protected  boolean isUseSharedSqlSessionFactory
           
protected  JobExecutor jobExecutor
           
protected  Map<String,JobHandler> jobHandlers
           
protected  PriorityProvider<JobDeclaration<?,?>> jobPriorityProvider
           
protected static ConfigurationLogger LOG
           
protected  ManagementService managementService
           
protected static String MARIA_DB_PRODUCT_NAME
           
protected  MetricsRegistry metricsRegistry
          the metrics registry
protected  MetricsReporterIdProvider metricsReporterIdProvider
           
protected  List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators
           
protected  List<MigratingCompensationInstanceValidator> migratingCompensationInstanceValidators
           
protected  List<MigratingTransitionInstanceValidator> migratingTransitionInstanceValidators
           
protected  MigrationActivityMatcher migrationActivityMatcher
           
protected  MigrationInstructionGenerator migrationInstructionGenerator
           
protected  List<MigrationInstructionValidator> migrationInstructionValidators
           
protected static String MY_SQL_PRODUCT_NAME
           
protected  PasswordEncryptor passwordEncryptor
           
protected  PasswordManager passwordManager
           
protected  List<BpmnParseListener> postParseListeners
           
protected  List<BpmnParseListener> preParseListeners
           
protected  ProcessApplicationManager processApplicationManager
           
protected  ProcessEngineImpl processEngine
          The process engine created by this configuration.
protected  List<ProcessEnginePlugin> processEnginePlugins
           
protected  Set<String> registeredDeployments
           
protected  RepositoryService repositoryService
           
protected  List<ResolverFactory> resolverFactories
           
protected  ResourceAuthorizationProvider resourceAuthorizationProvider
           
protected  boolean restrictUserOperationLogToAuthenticatedUsers
          If true, user operation log entries are only written if there is an authenticated user present in the context.
protected  RuntimeService runtimeService
           
protected  SaltGenerator saltGenerator
           
protected  List<ScriptEnvResolver> scriptEnvResolvers
           
protected  ScriptFactory scriptFactory
           
protected  ScriptingEngines scriptingEngines
           
protected  ScriptingEnvironment scriptingEnvironment
           
protected  Map<Class<?>,SessionFactory> sessionFactories
           
protected  org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory
           
protected  TaskService taskService
           
protected  TenantIdProvider tenantIdProvider
           
protected  TransactionContextFactory transactionContextFactory
           
protected  org.apache.ibatis.transaction.TransactionFactory transactionFactory
           
protected  VariableSerializers variableSerializers
           
protected  String wsSyncFactoryClassName
           
 
Fields inherited from class org.camunda.bpm.engine.ProcessEngineConfiguration
AUTHORIZATION_CHECK_REVOKE_ALWAYS, AUTHORIZATION_CHECK_REVOKE_AUTO, AUTHORIZATION_CHECK_REVOKE_NEVER, authorizationCheckRevokes, authorizationEnabled, authorizationEnabledForCustomCode, classLoader, createIncidentOnFailedJobEnabled, databaseSchemaUpdate, databaseType, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultNumberOfRetries, defaultUserPermissionNameForTask, 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, producePrioritizedExternalTasks, producePrioritizedJobs, schemaOperationsCommand, tenantCheckEnabled, transactionsExternallyManaged, useTLS, valueTypeResolver
 
Constructor Summary
ProcessEngineConfigurationImpl()
           
 
Method Summary
protected  void addSessionFactory(SessionFactory sessionFactory)
           
 ProcessEngine buildProcessEngine()
           
protected  String checkForMariaDb(DatabaseMetaData databaseMetaData, String databaseName)
          The product name of mariadb is still 'MySQL'.
 void close()
           
protected  void ensurePrefixAndSchemaFitToegether(String prefix, String schema)
          When providing a schema and a prefix the prefix has to be the schema ending with a dot.
 ArtifactFactory getArtifactFactory()
           
 AuthorizationService getAuthorizationService()
           
 Map<String,BatchJobHandler<?>> getBatchHandlers()
           
 long getBatchJobPriority()
           
 int getBatchJobsPerSeed()
           
 int getBatchPollTime()
           
 Map<Object,Object> getBeans()
           
protected  BpmnDeployer getBpmnDeployer()
           
 BusinessCalendarManager getBusinessCalendarManager()
           
 CaseService getCaseService()
           
protected  CmmnDeployer getCmmnDeployer()
           
 CmmnHistoryEventProducer getCmmnHistoryEventProducer()
           
 List<CommandChecker> getCommandCheckers()
           
 CommandContextFactory getCommandContextFactory()
           
 CommandExecutor getCommandExecutorSchemaOperations()
           
 CommandExecutor getCommandExecutorTxRequired()
           
 CommandExecutor getCommandExecutorTxRequiresNew()
           
 List<CommandInterceptor> getCommandInterceptorsTxRequired()
           
 List<CommandInterceptor> getCommandInterceptorsTxRequiresNew()
           
 CorrelationHandler getCorrelationHandler()
           
 List<BatchJobHandler<?>> getCustomBatchJobHandlers()
           
 List<EventHandler> getCustomEventHandlers()
           
 List<FormEngine> getCustomFormEngines()
           
 Map<String,Class<? extends FormFieldValidator>> getCustomFormFieldValidators()
           
 List<AbstractFormFieldType> getCustomFormTypes()
           
 List<HistoryLevel> getCustomHistoryLevels()
           
 List<IncidentHandler> getCustomIncidentHandlers()
           
 List<JobHandler> getCustomJobHandlers()
           
 List<PasswordEncryptor> getCustomPasswordChecker()
           
 List<BpmnParseListener> getCustomPostBPMNParseListeners()
           
 List<CmmnTransformListener> getCustomPostCmmnTransformListeners()
           
 List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequired()
           
 List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequiresNew()
           
 List<Deployer> getCustomPostDeployers()
           
 List<MigratingActivityInstanceValidator> getCustomPostMigratingActivityInstanceValidators()
           
 List<MigrationActivityValidator> getCustomPostMigrationActivityValidators()
           
 List<MigrationInstructionValidator> getCustomPostMigrationInstructionValidators()
           
 List<TypedValueSerializer> getCustomPostVariableSerializers()
           
 List<BpmnParseListener> getCustomPreBPMNParseListeners()
           
 List<CmmnTransformListener> getCustomPreCmmnTransformListeners()
           
 List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequired()
           
 List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequiresNew()
           
 List<Deployer> getCustomPreDeployers()
           
 List<MigratingActivityInstanceValidator> getCustomPreMigratingActivityInstanceValidators()
           
 List<MigrationActivityValidator> getCustomPreMigrationActivityValidators()
           
 List<MigrationInstructionValidator> getCustomPreMigrationInstructionValidators()
           
 List<TypedValueSerializer> getCustomPreVariableSerializers()
           
 RejectedJobsHandler getCustomRejectedJobsHandler()
           
 List<SessionFactory> getCustomSessionFactories()
           
 String getDatabaseSchema()
           
 String getDatabaseTablePrefix()
           
 DbEntityCacheKeyMapping getDbEntityCacheKeyMapping()
           
 DbMetricsReporter getDbMetricsReporter()
           
 DbSqlSessionFactory getDbSqlSessionFactory()
           
protected  DecisionDefinitionDeployer getDecisionDefinitionDeployer()
           
protected  DecisionRequirementsDefinitionDeployer getDecisionRequirementsDefinitionDeployer()
           
 DecisionService getDecisionService()
           
protected  List<BpmnParseListener> getDefaultBPMNParseListeners()
           
 Charset getDefaultCharset()
           
protected  List<CmmnTransformListener> getDefaultCmmnTransformListeners()
           
protected abstract  Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
           
protected abstract  Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
           
protected static Properties getDefaultDatabaseTypeMappings()
           
protected  Collection<? extends Deployer> getDefaultDeployers()
           
 HistoryLevel getDefaultHistoryLevel()
           
 List<MigratingActivityInstanceValidator> getDefaultMigratingActivityInstanceValidators()
           
 List<MigratingTransitionInstanceValidator> getDefaultMigratingTransitionInstanceValidators()
           
 List<MigrationActivityValidator> getDefaultMigrationActivityValidators()
           
 List<MigrationInstructionValidator> getDefaultMigrationInstructionValidators()
           
 String getDefaultSerializationFormat()
           
 Permission getDefaultUserPermissionForTask()
           
 DelegateInterceptor getDelegateInterceptor()
           
 List<Deployer> getDeployers()
           
 DeploymentCache getDeploymentCache()
           
 boolean getDisableStrictCallActivityValidation()
           
 org.camunda.bpm.dmn.engine.DmnEngine getDmnEngine()
           
 org.camunda.bpm.dmn.engine.impl.DefaultDmnEngineConfiguration getDmnEngineConfiguration()
           
 DmnHistoryEventProducer getDmnHistoryEventProducer()
           
 boolean getEnableFetchProcessDefinitionDescription()
           
 List<ScriptEnvResolver> getEnvScriptResolvers()
           
 EventHandler getEventHandler(String eventType)
           
 Map<String,EventHandler> getEventHandlers()
           
 ExpressionManager getExpressionManager()
           
 PriorityProvider<ExternalTaskActivityBehavior> getExternalTaskPriorityProvider()
           
 ExternalTaskService getExternalTaskService()
           
 FailedJobCommandFactory getFailedJobCommandFactory()
           
 int getFailedJobListenerMaxRetries()
           
 VariableSerializerFactory getFallbackSerializerFactory()
           
 FilterService getFilterService()
           
 Map<String,FormEngine> getFormEngines()
           
 FormService getFormService()
           
 FormTypes getFormTypes()
           
 FormValidators getFormValidators()
           
 int getHistoryCleanupBatchSize()
           
 int getHistoryCleanupBatchThreshold()
           
 String getHistoryCleanupBatchWindowEndTime()
           
 Date getHistoryCleanupBatchWindowEndTimeAsDate()
           
 String getHistoryCleanupBatchWindowStartTime()
           
 Date getHistoryCleanupBatchWindowStartTimeAsDate()
           
 HistoryEventHandler getHistoryEventHandler()
           
 HistoryEventProducer getHistoryEventProducer()
           
 HistoryLevel getHistoryLevel()
           
 List<HistoryLevel> getHistoryLevels()
           
 HistoryService getHistoryService()
           
 SessionFactory getIdentityProviderSessionFactory()
           
 IdentityService getIdentityService()
           
 IdGenerator getIdGenerator()
           
 DataSource getIdGeneratorDataSource()
           
 String getIdGeneratorDataSourceJndiName()
           
 IncidentHandler getIncidentHandler(String incidentType)
           
 Map<String,IncidentHandler> getIncidentHandlers()
           
 int getInvocationsPerBatchJob()
           
 JobExecutor getJobExecutor()
           
 Map<String,JobHandler> getJobHandlers()
           
 PriorityProvider<JobDeclaration<?,?>> getJobPriorityProvider()
           
 ManagementService getManagementService()
           
 MetricsRegistry getMetricsRegistry()
           
 MetricsReporterIdProvider getMetricsReporterIdProvider()
           
 List<MigratingActivityInstanceValidator> getMigratingActivityInstanceValidators()
           
 List<MigratingCompensationInstanceValidator> getMigratingCompensationInstanceValidators()
           
 List<MigratingTransitionInstanceValidator> getMigratingTransitionInstanceValidators()
           
 MigrationActivityMatcher getMigrationActivityMatcher()
           
 MigrationInstructionGenerator getMigrationInstructionGenerator()
           
 List<MigrationInstructionValidator> getMigrationInstructionValidators()
           
protected  InputStream getMyBatisXmlConfigurationSteam()
           
 PasswordEncryptor getPasswordEncryptor()
           
 PasswordManager getPasswordManager()
           
 List<BpmnParseListener> getPostParseListeners()
          Deprecated. use getCustomPostBPMNParseListeners() instead.
 List<BpmnParseListener> getPreParseListeners()
          Deprecated. use getCustomPreBPMNParseListeners() instead.
 ProcessApplicationManager getProcessApplicationManager()
           
 ProcessEngineImpl getProcessEngine()
           
 String getProcessEngineName()
           
 List<ProcessEnginePlugin> getProcessEnginePlugins()
           
 Set<String> getRegisteredDeployments()
           
 RepositoryService getRepositoryService()
           
 List<ResolverFactory> getResolverFactories()
           
 ResourceAuthorizationProvider getResourceAuthorizationProvider()
           
 RuntimeService getRuntimeService()
           
 SaltGenerator getSaltGenerator()
           
 ScriptFactory getScriptFactory()
           
 ScriptingEngines getScriptingEngines()
           
 ScriptingEnvironment getScriptingEnvironment()
           
 Map<Class<?>,SessionFactory> getSessionFactories()
           
 org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
           
 TaskService getTaskService()
           
 TenantIdProvider getTenantIdProvider()
           
 TransactionContextFactory getTransactionContextFactory()
           
 org.apache.ibatis.transaction.TransactionFactory getTransactionFactory()
           
 VariableSerializers getVariableSerializers()
           
 String getWsSyncFactoryClassName()
           
protected  void init()
           
protected  void initActualCommandExecutor()
           
protected  void initArtifactFactory()
           
protected  void initBatchHandlers()
           
protected  void initBeans()
           
protected  void initBusinessCalendarManager()
           
protected  void initCacheFactory()
           
protected  void initCmmnHistoryEventProducer()
           
protected  void initCommandCheckers()
           
protected  void initCommandContextFactory()
           
protected  void initCommandExecutorDbSchemaOperations()
           
protected  void initCommandExecutors()
           
protected  void initCommandExecutorTxRequired()
           
protected  void initCommandExecutorTxRequiresNew()
           
protected  void initCommandInterceptorsTxRequired()
           
protected  void initCommandInterceptorsTxRequiresNew()
           
protected  void initCorrelationHandler()
           
 void initDatabaseType()
           
protected  void initDataSource()
           
protected  void initDefaultCharset()
           
protected  void initDefaultMetrics(MetricsRegistry metricsRegistry)
           
protected  void initDefaultUserPermissionForTask()
           
protected  void initDelegateInterceptor()
           
protected  void initDeployers()
           
protected  void initDeploymentRegistration()
           
protected  void initDmnEngine()
           
protected  void initDmnHistoryEventProducer()
           
protected  void initEventHandlers()
           
protected  void initExpressionManager()
           
protected  void initExternalTaskPriorityProvider()
           
protected  void initFailedJobCommandFactory()
           
protected  void initFormEngines()
           
protected  void initFormFieldValidators()
           
protected  void initFormTypes()
           
 void initHistoryCleanup()
           
protected  void initHistoryEventHandler()
           
protected  void initHistoryEventProducer()
           
 void initHistoryLevel()
           
protected  void initIdentityProviderSessionFactory()
           
protected  void initIdGenerator()
           
protected  void initIncidentHandlers()
           
protected  CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain)
           
protected  void initJobExecutor()
           
protected  void initJobProvider()
           
protected  void initJpa()
           
protected  void initMetrics()
           
protected  void initMigratingActivityInstanceValidators()
           
protected  void initMigratingCompensationInstanceValidators()
           
protected  void initMigratingTransitionInstanceValidators()
           
protected  void initMigration()
           
protected  void initMigrationActivityMatcher()
           
protected  void initMigrationInstructionGenerator()
           
protected  void initMigrationInstructionValidators()
           
protected  void initPasswordDigest()
           
protected  void initPersistenceProviders()
           
protected  void initProcessApplicationManager()
           
protected  void initResourceAuthorizationProvider()
           
protected  void initScripting()
           
protected  void initSerialization()
           
protected  void initService(Object service)
           
protected  void initServices()
           
protected  void initSessionFactories()
           
protected  void initSqlSessionFactory()
           
static void initSqlSessionFactoryProperties(Properties properties, String databaseTablePrefix, String databaseType)
           
protected  void initTransactionContextFactory()
           
protected  void initTransactionFactory()
           
protected  void initValueTypeResolver()
           
protected  void invokePostInit()
           
protected  void invokePostProcessEngineBuild(ProcessEngine engine)
           
protected  void invokePreInit()
           
 boolean isAutoStoreScriptVariables()
           
 boolean isBpmnStacktraceVerbose()
           
 boolean isCmmnEnabled()
           
 boolean isCreateDiagramOnDeploy()
           
 boolean isDbEntityCacheReuseEnabled()
           
 boolean isDbHistoryUsed()
           
 boolean isDbIdentityUsed()
           
 boolean isDbMetricsReporterActivate()
           
 boolean isDeploymentLockUsed()
           
 boolean isDeploymentSynchronized()
           
 boolean isDmnEnabled()
           
 boolean isEnableExpressionsInAdhocQueries()
           
 boolean isEnableExpressionsInStoredQueries()
           
 boolean isEnableFetchScriptEngineFromProcessApplication()
           
 boolean isEnableGracefulDegradationOnContextSwitchFailure()
           
 boolean isEnableScriptCompilation()
           
 boolean isEnableScriptEngineCaching()
           
 boolean isExecutionTreePrefetchEnabled()
           
 boolean isForceCloseMybatisConnectionPool()
           
 boolean isInvokeCustomVariableListeners()
           
 boolean isMetricsEnabled()
           
 boolean isRestrictUserOperationLogToAuthenticatedUsers()
           
 boolean isUseSharedSqlSessionFactory()
           
 ProcessEngineConfiguration setArtifactFactory(ArtifactFactory artifactFactory)
           
 void setAutoStoreScriptVariables(boolean autoStoreScriptVariables)
          If set to true, the process engine will save all script variables (created from Java Script, Groovy ...) as process variables.
 void setBatchHandlers(Map<String,BatchJobHandler<?>> batchHandlers)
           
 void setBatchJobPriority(long batchJobPriority)
           
 void setBatchJobsPerSeed(int batchJobsPerSeed)
           
 void setBatchPollTime(int batchPollTime)
           
 void setBeans(Map<Object,Object> beans)
           
 ProcessEngineConfigurationImpl setBpmnStacktraceVerbose(boolean isBpmnStacktraceVerbose)
           
 ProcessEngineConfigurationImpl setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager)
           
 void setCacheCapacity(int cacheCapacity)
           
 void setCacheFactory(CacheFactory cacheFactory)
           
 void setCaseService(CaseService caseService)
           
 ProcessEngineConfigurationImpl setClassLoader(ClassLoader classLoader)
           
 void setCmmnEnabled(boolean cmmnEnabled)
           
 ProcessEngineConfigurationImpl setCmmnHistoryEventProducer(CmmnHistoryEventProducer cmmnHistoryEventProducer)
           
 void setCommandCheckers(List<CommandChecker> commandCheckers)
           
 ProcessEngineConfigurationImpl setCommandContextFactory(CommandContextFactory commandContextFactory)
           
 void setCommandExecutorSchemaOperations(CommandExecutor commandExecutorSchemaOperations)
           
 ProcessEngineConfigurationImpl setCommandExecutorTxRequired(CommandExecutor commandExecutorTxRequired)
           
 ProcessEngineConfigurationImpl setCommandExecutorTxRequiresNew(CommandExecutor commandExecutorTxRequiresNew)
           
 ProcessEngineConfigurationImpl setCommandInterceptorsTxRequired(List<CommandInterceptor> commandInterceptorsTxRequired)
           
 ProcessEngineConfigurationImpl setCommandInterceptorsTxRequiresNew(List<CommandInterceptor> commandInterceptorsTxRequiresNew)
           
 void setCorrelationHandler(CorrelationHandler correlationHandler)
           
 ProcessEngineConfiguration setCreateDiagramOnDeploy(boolean createDiagramOnDeploy)
           
 void setCustomBatchJobHandlers(List<BatchJobHandler<?>> customBatchJobHandlers)
           
 void setCustomEventHandlers(List<EventHandler> customEventHandlers)
           
 ProcessEngineConfigurationImpl setCustomFormEngines(List<FormEngine> customFormEngines)
           
 void setCustomFormFieldValidators(Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators)
           
 ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormFieldType> customFormTypes)
           
 ProcessEngineConfigurationImpl setCustomHistoryLevels(List<HistoryLevel> customHistoryLevels)
           
 void setCustomIncidentHandlers(List<IncidentHandler> customIncidentHandlers)
           
 ProcessEngineConfigurationImpl setCustomJobHandlers(List<JobHandler> customJobHandlers)
           
 void setCustomPasswordChecker(List<PasswordEncryptor> customPasswordChecker)
           
 void setCustomPostBPMNParseListeners(List<BpmnParseListener> postParseListeners)
           
 void setCustomPostCmmnTransformListeners(List<CmmnTransformListener> customPostCmmnTransformListeners)
           
 ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequired(List<CommandInterceptor> customPostCommandInterceptorsTxRequired)
           
 ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew)
           
 ProcessEngineConfigurationImpl setCustomPostDeployers(List<Deployer> customPostDeployers)
           
 void setCustomPostMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators)
           
 void setCustomPostMigrationActivityValidators(List<MigrationActivityValidator> customPostMigrationActivityValidators)
           
 void setCustomPostMigrationInstructionValidators(List<MigrationInstructionValidator> customPostMigrationInstructionValidators)
           
 ProcessEngineConfigurationImpl setCustomPostVariableSerializers(List<TypedValueSerializer> customPostVariableTypes)
           
 void setCustomPreBPMNParseListeners(List<BpmnParseListener> preParseListeners)
           
 void setCustomPreCmmnTransformListeners(List<CmmnTransformListener> customPreCmmnTransformListeners)
           
 ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequired(List<CommandInterceptor> customPreCommandInterceptorsTxRequired)
           
 ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew)
           
 ProcessEngineConfigurationImpl setCustomPreDeployers(List<Deployer> customPreDeployers)
           
 void setCustomPreMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators)
           
 void setCustomPreMigrationActivityValidators(List<MigrationActivityValidator> customPreMigrationActivityValidators)
           
 void setCustomPreMigrationInstructionValidators(List<MigrationInstructionValidator> customPreMigrationInstructionValidators)
           
 ProcessEngineConfigurationImpl setCustomPreVariableSerializers(List<TypedValueSerializer> customPreVariableTypes)
           
 ProcessEngineConfigurationImpl setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler)
           
 ProcessEngineConfigurationImpl setCustomSessionFactories(List<SessionFactory> customSessionFactories)
           
 void setDatabaseSchema(String databaseSchema)
           
 ProcessEngineConfigurationImpl setDatabaseSchemaUpdate(String databaseSchemaUpdate)
           
 ProcessEngineConfiguration setDatabaseTablePrefix(String databaseTablePrefix)
          Allows configuring a database table prefix which is used for all runtime operations of the process engine.
 ProcessEngineConfigurationImpl setDatabaseType(String databaseType)
           
 ProcessEngineConfigurationImpl setDataSource(DataSource dataSource)
           
 ProcessEngineConfigurationImpl setDbEntityCacheKeyMapping(DbEntityCacheKeyMapping dbEntityCacheKeyMapping)
           
 ProcessEngineConfigurationImpl setDbEntityCacheReuseEnabled(boolean isDbEntityCacheReuseEnabled)
           
 void setDbHistoryUsed(boolean isDbHistoryUsed)
           
 void setDbIdentityUsed(boolean isDbIdentityUsed)
           
 ProcessEngineConfigurationImpl setDbMetricsReporter(DbMetricsReporter dbMetricsReporter)
           
 ProcessEngineConfigurationImpl setDbMetricsReporterActivate(boolean isDbMetricsReporterEnabled)
           
 ProcessEngineConfigurationImpl setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory)
           
 void setDecisionService(DecisionService decisionService)
           
 ProcessEngineConfigurationImpl setDefaultCharset(Charset defautlCharset)
           
 ProcessEngineConfigurationImpl setDefaultCharsetName(String defaultCharsetName)
           
 ProcessEngineConfigurationImpl setDefaultSerializationFormat(String defaultSerializationFormat)
           
 ProcessEngineConfigurationImpl setDefaultUserPermissionForTask(Permission defaultUserPermissionForTask)
           
 ProcessEngineConfigurationImpl setDelegateInterceptor(DelegateInterceptor delegateInterceptor)
           
 ProcessEngineConfigurationImpl setDeployers(List<Deployer> deployers)
           
 void setDeploymentCache(DeploymentCache deploymentCache)
           
 void setDeploymentLockUsed(boolean isDeploymentLockUsed)
          If set to true, the process engine will acquire an exclusive lock when creating a deployment.
 void setDeploymentSynchronized(boolean deploymentSynchronized)
          Sets if deployment processing must be synchronized.
 void setDisableStrictCallActivityValidation(boolean disableStrictCallActivityValidation)
           
 void setDmnEnabled(boolean dmnEnabled)
           
 void setDmnEngine(org.camunda.bpm.dmn.engine.DmnEngine dmnEngine)
           
 void setDmnEngineConfiguration(org.camunda.bpm.dmn.engine.impl.DefaultDmnEngineConfiguration dmnEngineConfiguration)
           
 ProcessEngineConfigurationImpl setDmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer)
           
 void setEnableExpressionsInAdhocQueries(boolean enableExpressionsInAdhocQueries)
           
 void setEnableExpressionsInStoredQueries(boolean enableExpressionsInStoredQueries)
           
 void setEnableFetchProcessDefinitionDescription(boolean enableFetchProcessDefinitionDescription)
           
 ProcessEngineConfigurationImpl setEnableFetchScriptEngineFromProcessApplication(boolean enable)
           
 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.
 void setEnableScriptCompilation(boolean enableScriptCompilation)
          If set to true, the process engine will attempt to pre-compile script sources at runtime to optimize script task execution performance.
 ProcessEngineConfigurationImpl setEnableScriptEngineCaching(boolean enableScriptEngineCaching)
           
 void setEnvScriptResolvers(List<ScriptEnvResolver> scriptEnvResolvers)
           
 void setEventHandlers(Map<String,EventHandler> eventHandlers)
           
 void setExecutionTreePrefetchEnabled(boolean isExecutionTreePrefetchingEnabled)
           
 ProcessEngineConfigurationImpl setExpressionManager(ExpressionManager expressionManager)
           
 void setExternalTaskPriorityProvider(PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider)
           
 void setExternalTaskService(ExternalTaskService externalTaskService)
           
 ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)
           
 void setFailedJobListenerMaxRetries(int failedJobListenerMaxRetries)
           
 void setFallbackSerializerFactory(VariableSerializerFactory fallbackSerializerFactory)
           
 void setFilterService(FilterService filterService)
           
 ProcessEngineConfigurationImpl setForceCloseMybatisConnectionPool(boolean forceCloseMybatisConnectionPool)
           
 ProcessEngineConfigurationImpl setFormEngines(Map<String,FormEngine> formEngines)
           
 ProcessEngineConfigurationImpl setFormService(FormService formService)
           
 ProcessEngineConfigurationImpl setFormTypes(FormTypes formTypes)
           
 void setFormValidators(FormValidators formValidators)
           
 ProcessEngineConfigurationImpl setHistory(String history)
           
 void setHistoryCleanupBatchSize(int historyCleanupBatchSize)
           
 void setHistoryCleanupBatchThreshold(int historyCleanupBatchThreshold)
           
 void setHistoryCleanupBatchWindowEndTime(String historyCleanupBatchWindowEndTime)
           
 void setHistoryCleanupBatchWindowEndTimeAsDate(Date historyCleanupBatchWindowEndTimeAsDate)
           
 void setHistoryCleanupBatchWindowStartTime(String historyCleanupBatchWindowStartTime)
           
 void setHistoryCleanupBatchWindowStartTimeAsDate(Date historyCleanupBatchWindowStartTimeAsDate)
           
 ProcessEngineConfigurationImpl setHistoryEventHandler(HistoryEventHandler historyEventHandler)
           
 ProcessEngineConfigurationImpl setHistoryEventProducer(HistoryEventProducer historyEventProducer)
           
 void setHistoryLevel(HistoryLevel historyLevel)
           
 ProcessEngineConfigurationImpl setHistoryService(HistoryService historyService)
           
 ProcessEngineConfigurationImpl setIdBlockSize(int idBlockSize)
           
 void setIdentityProviderSessionFactory(SessionFactory identityProviderSessionFactory)
           
 ProcessEngineConfigurationImpl setIdentityService(IdentityService identityService)
           
 ProcessEngineConfigurationImpl setIdGenerator(IdGenerator idGenerator)
           
 void setIdGeneratorDataSource(DataSource idGeneratorDataSource)
           
 void setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)
           
 void setIncidentHandlers(Map<String,IncidentHandler> incidentHandlers)
           
 void setInvocationsPerBatchJob(int invocationsPerBatchJob)
           
 ProcessEngineConfigurationImpl setInvokeCustomVariableListeners(boolean isInvokeCustomVariableListeners)
           
 ProcessEngineConfigurationImpl setJdbcDriver(String jdbcDriver)
           
 ProcessEngineConfigurationImpl setJdbcMaxActiveConnections(int jdbcMaxActiveConnections)
           
 ProcessEngineConfigurationImpl setJdbcMaxCheckoutTime(int jdbcMaxCheckoutTime)
           
 ProcessEngineConfigurationImpl setJdbcMaxIdleConnections(int jdbcMaxIdleConnections)
           
 ProcessEngineConfigurationImpl setJdbcMaxWaitTime(int jdbcMaxWaitTime)
           
 ProcessEngineConfigurationImpl setJdbcPassword(String jdbcPassword)
           
 ProcessEngineConfigurationImpl setJdbcPingConnectionNotUsedFor(int jdbcPingNotUsedFor)
           
 ProcessEngineConfigurationImpl setJdbcPingEnabled(boolean jdbcPingEnabled)
           
 ProcessEngineConfigurationImpl setJdbcPingQuery(String jdbcPingQuery)
           
 ProcessEngineConfigurationImpl setJdbcUrl(String jdbcUrl)
           
 ProcessEngineConfigurationImpl setJdbcUsername(String jdbcUsername)
           
 ProcessEngineConfigurationImpl setJobExecutor(JobExecutor jobExecutor)
           
 ProcessEngineConfigurationImpl setJobExecutorActivate(boolean jobExecutorActivate)
           
 ProcessEngineConfigurationImpl setJobHandlers(Map<String,JobHandler> jobHandlers)
           
 void setJobPriorityProvider(PriorityProvider<JobDeclaration<?,?>> jobPriorityProvider)
           
 ProcessEngineConfigurationImpl setJpaCloseEntityManager(boolean jpaCloseEntityManager)
           
 ProcessEngineConfigurationImpl setJpaEntityManagerFactory(Object jpaEntityManagerFactory)
           
 ProcessEngineConfigurationImpl setJpaHandleTransaction(boolean jpaHandleTransaction)
           
 ProcessEngineConfigurationImpl setMailServerDefaultFrom(String mailServerDefaultFrom)
           
 ProcessEngineConfigurationImpl setMailServerHost(String mailServerHost)
           
 ProcessEngineConfigurationImpl setMailServerPassword(String mailServerPassword)
           
 ProcessEngineConfigurationImpl setMailServerPort(int mailServerPort)
           
 ProcessEngineConfigurationImpl setMailServerUsername(String mailServerUsername)
           
 ProcessEngineConfigurationImpl setMailServerUseTLS(boolean useTLS)
           
 ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)
           
 ProcessEngineConfigurationImpl setMetricsEnabled(boolean isMetricsEnabled)
           
 ProcessEngineConfigurationImpl setMetricsRegistry(MetricsRegistry metricsRegistry)
           
 void setMetricsReporterIdProvider(MetricsReporterIdProvider metricsReporterIdProvider)
           
 void setMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators)
           
 void setMigrationActivityMatcher(MigrationActivityMatcher migrationActivityMatcher)
           
 void setMigrationInstructionGenerator(MigrationInstructionGenerator migrationInstructionGenerator)
           
 void setMigrationInstructionValidators(List<MigrationInstructionValidator> migrationInstructionValidators)
           
 void setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
           
 void setPasswordManager(PasswordManager passwordManager)
           
 void setPostParseListeners(List<BpmnParseListener> postParseListeners)
          Deprecated. use setCustomPostBPMNParseListeners(java.util.List) instead.
 void setPreParseListeners(List<BpmnParseListener> preParseListeners)
          Deprecated. use setCustomPreBPMNParseListeners(java.util.List) instead.
 void setProcessApplicationManager(ProcessApplicationManager processApplicationManager)
           
 ProcessEngineConfigurationImpl setProcessEngineName(String processEngineName)
           
 void setProcessEnginePlugins(List<ProcessEnginePlugin> processEnginePlugins)
           
 void setRegisteredDeployments(Set<String> registeredDeployments)
           
 ProcessEngineConfigurationImpl setRepositoryService(RepositoryService repositoryService)
           
 void setResolverFactories(List<ResolverFactory> resolverFactories)
           
 void setResourceAuthorizationProvider(ResourceAuthorizationProvider resourceAuthorizationProvider)
           
 ProcessEngineConfigurationImpl setRestrictUserOperationLogToAuthenticatedUsers(boolean restrictUserOperationLogToAuthenticatedUsers)
           
 ProcessEngineConfigurationImpl setRuntimeService(RuntimeService runtimeService)
           
 void setSaltGenerator(SaltGenerator saltGenerator)
           
 void setScriptFactory(ScriptFactory scriptFactory)
           
 ProcessEngineConfigurationImpl setScriptingEngines(ScriptingEngines scriptingEngines)
           
 void setScriptingEnvironment(ScriptingEnvironment scriptingEnvironment)
           
 ProcessEngineConfigurationImpl setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)
           
 ProcessEngineConfigurationImpl setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
           
 ProcessEngineConfigurationImpl setTaskService(TaskService taskService)
           
 ProcessEngineConfigurationImpl setTenantIdProvider(TenantIdProvider tenantIdProvider)
           
 ProcessEngineConfigurationImpl setTransactionContextFactory(TransactionContextFactory transactionContextFactory)
           
 ProcessEngineConfigurationImpl setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory)
           
 ProcessEngineConfigurationImpl setTransactionsExternallyManaged(boolean transactionsExternallyManaged)
           
 ProcessEngineConfigurationImpl setUseSharedSqlSessionFactory(boolean isUseSharedSqlSessionFactory)
           
 ProcessEngineConfigurationImpl setVariableTypes(VariableSerializers variableSerializers)
           
 ProcessEngineConfigurationImpl setWsSyncFactoryClassName(String wsSyncFactoryClassName)
           
 
Methods inherited from class org.camunda.bpm.engine.ProcessEngineConfiguration
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getAuthorizationCheckRevokes, getClassLoader, getDatabaseSchemaUpdate, getDatabaseType, getDataSource, getDataSourceJndiName, getDefaultNumberOfRetries, getDefaultUserPermissionNameForTask, getHistory, getIdBlockSize, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcStatementTimeout, getJdbcUrl, getJdbcUsername, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServerUsername, getMailServerUseTLS, getSchemaOperationsCommand, getValueTypeResolver, isAuthorizationEnabled, isAuthorizationEnabledForCustomCode, isCreateIncidentOnFailedJobEnabled, isHintJobExecutor, isJdbcPingEnabled, isJobExecutorAcquireByDueDate, isJobExecutorAcquireByPriority, isJobExecutorActivate, isJobExecutorDeploymentAware, isJobExecutorPreferTimerJobs, isJpaCloseEntityManager, isJpaHandleTransaction, isProducePrioritizedExternalTasks, isProducePrioritizedJobs, isTenantCheckEnabled, isTransactionsExternallyManaged, setAuthorizationCheckRevokes, setAuthorizationEnabled, setAuthorizationEnabledForCustomCode, setCreateIncidentOnFailedJobEnabled, setDataSourceJndiName, setDefaultNumberOfRetries, setDefaultUserPermissionNameForTask, setHintJobExecutor, setJdbcStatementTimeout, setJobExecutorAcquireByDueDate, setJobExecutorAcquireByPriority, setJobExecutorDeploymentAware, setJobExecutorPreferTimerJobs, setJpaPersistenceUnitName, setProducePrioritizedExternalTasks, setProducePrioritizedJobs, setSchemaOperationsCommand, setTenantCheckEnabled, setValueTypeResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final ConfigurationLogger LOG

DB_SCHEMA_UPDATE_CREATE

public static final String DB_SCHEMA_UPDATE_CREATE
See Also:
Constant Field Values

DB_SCHEMA_UPDATE_DROP_CREATE

public static final String DB_SCHEMA_UPDATE_DROP_CREATE
See Also:
Constant Field Values

HISTORYLEVEL_NONE

public static final int HISTORYLEVEL_NONE

HISTORYLEVEL_ACTIVITY

public static final int HISTORYLEVEL_ACTIVITY

HISTORYLEVEL_AUDIT

public static final int HISTORYLEVEL_AUDIT

HISTORYLEVEL_FULL

public static final int HISTORYLEVEL_FULL

DEFAULT_WS_SYNC_FACTORY

public static final String DEFAULT_WS_SYNC_FACTORY
See Also:
Constant Field Values

DEFAULT_MYBATIS_MAPPING_FILE

public static final String DEFAULT_MYBATIS_MAPPING_FILE
See Also:
Constant Field Values

DEFAULT_FAILED_JOB_LISTENER_MAX_RETRIES

public static final int DEFAULT_FAILED_JOB_LISTENER_MAX_RETRIES
See Also:
Constant Field Values

cachedSqlSessionFactory

public static org.apache.ibatis.session.SqlSessionFactory cachedSqlSessionFactory

repositoryService

protected RepositoryService repositoryService

runtimeService

protected RuntimeService runtimeService

historyService

protected HistoryService historyService

identityService

protected IdentityService identityService

taskService

protected TaskService taskService

formService

protected FormService formService

managementService

protected ManagementService managementService

authorizationService

protected AuthorizationService authorizationService

caseService

protected CaseService caseService

filterService

protected FilterService filterService

externalTaskService

protected ExternalTaskService externalTaskService

decisionService

protected DecisionService decisionService

customPreCommandInterceptorsTxRequired

protected List<CommandInterceptor> customPreCommandInterceptorsTxRequired
the configurable list which will be processed to build the commandExecutorTxRequired


customPostCommandInterceptorsTxRequired

protected List<CommandInterceptor> customPostCommandInterceptorsTxRequired

commandInterceptorsTxRequired

protected List<CommandInterceptor> commandInterceptorsTxRequired

commandExecutorTxRequired

protected CommandExecutor commandExecutorTxRequired
this will be initialized during the configurationComplete()


customPreCommandInterceptorsTxRequiresNew

protected List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew
the configurable list which will be processed to build the commandExecutorTxRequiresNew


customPostCommandInterceptorsTxRequiresNew

protected List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew

commandInterceptorsTxRequiresNew

protected List<CommandInterceptor> commandInterceptorsTxRequiresNew

commandExecutorTxRequiresNew

protected CommandExecutor commandExecutorTxRequiresNew
this will be initialized during the configurationComplete()


commandExecutorSchemaOperations

protected CommandExecutor commandExecutorSchemaOperations
Separate command executor to be used for db schema operations. Must always use NON-JTA transactions


customSessionFactories

protected List<SessionFactory> customSessionFactories

dbSqlSessionFactory

protected DbSqlSessionFactory dbSqlSessionFactory

sessionFactories

protected Map<Class<?>,SessionFactory> sessionFactories

customPreDeployers

protected List<Deployer> customPreDeployers

customPostDeployers

protected List<Deployer> customPostDeployers

deployers

protected List<Deployer> deployers

deploymentCache

protected DeploymentCache deploymentCache

cacheFactory

protected CacheFactory cacheFactory

cacheCapacity

protected int cacheCapacity

enableFetchProcessDefinitionDescription

protected boolean enableFetchProcessDefinitionDescription

customJobHandlers

protected List<JobHandler> customJobHandlers

jobHandlers

protected Map<String,JobHandler> jobHandlers

jobExecutor

protected JobExecutor jobExecutor

jobPriorityProvider

protected PriorityProvider<JobDeclaration<?,?>> jobPriorityProvider

externalTaskPriorityProvider

protected PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider

sqlSessionFactory

protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory

transactionFactory

protected org.apache.ibatis.transaction.TransactionFactory transactionFactory

idGenerator

protected IdGenerator idGenerator

idGeneratorDataSource

protected DataSource idGeneratorDataSource

idGeneratorDataSourceJndiName

protected String idGeneratorDataSourceJndiName

incidentHandlers

protected Map<String,IncidentHandler> incidentHandlers

customIncidentHandlers

protected List<IncidentHandler> customIncidentHandlers

batchHandlers

protected Map<String,BatchJobHandler<?>> batchHandlers

customBatchJobHandlers

protected List<BatchJobHandler<?>> customBatchJobHandlers

batchJobsPerSeed

protected int batchJobsPerSeed
Number of jobs created by a batch seed job invocation


invocationsPerBatchJob

protected int invocationsPerBatchJob
Number of invocations executed by a single batch job


batchPollTime

protected int batchPollTime
seconds to wait between polling for batch completion


batchJobPriority

protected long batchJobPriority
default priority for batch jobs


customFormEngines

protected List<FormEngine> customFormEngines

formEngines

protected Map<String,FormEngine> formEngines

customFormTypes

protected List<AbstractFormFieldType> customFormTypes

formTypes

protected FormTypes formTypes

formValidators

protected FormValidators formValidators

customFormFieldValidators

protected Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators

customPreVariableSerializers

protected List<TypedValueSerializer> customPreVariableSerializers

customPostVariableSerializers

protected List<TypedValueSerializer> customPostVariableSerializers

variableSerializers

protected VariableSerializers variableSerializers

fallbackSerializerFactory

protected VariableSerializerFactory fallbackSerializerFactory

defaultSerializationFormat

protected String defaultSerializationFormat

defaultCharsetName

protected String defaultCharsetName

defaultCharset

protected Charset defaultCharset

expressionManager

protected ExpressionManager expressionManager

scriptingEngines

protected ScriptingEngines scriptingEngines

resolverFactories

protected List<ResolverFactory> resolverFactories

scriptingEnvironment

protected ScriptingEnvironment scriptingEnvironment

scriptEnvResolvers

protected List<ScriptEnvResolver> scriptEnvResolvers

scriptFactory

protected ScriptFactory scriptFactory

autoStoreScriptVariables

protected boolean autoStoreScriptVariables

enableScriptCompilation

protected boolean enableScriptCompilation

enableScriptEngineCaching

protected boolean enableScriptEngineCaching

enableFetchScriptEngineFromProcessApplication

protected boolean enableFetchScriptEngineFromProcessApplication

cmmnEnabled

protected boolean cmmnEnabled

dmnEnabled

protected boolean dmnEnabled

enableGracefulDegradationOnContextSwitchFailure

protected boolean enableGracefulDegradationOnContextSwitchFailure

businessCalendarManager

protected BusinessCalendarManager businessCalendarManager

wsSyncFactoryClassName

protected String wsSyncFactoryClassName

commandContextFactory

protected CommandContextFactory commandContextFactory

transactionContextFactory

protected TransactionContextFactory transactionContextFactory

bpmnParseFactory

protected BpmnParseFactory bpmnParseFactory

cmmnTransformFactory

protected CmmnTransformFactory cmmnTransformFactory

cmmnElementHandlerRegistry

protected DefaultCmmnElementHandlerRegistry cmmnElementHandlerRegistry

dmnEngineConfiguration

protected org.camunda.bpm.dmn.engine.impl.DefaultDmnEngineConfiguration dmnEngineConfiguration

dmnEngine

protected org.camunda.bpm.dmn.engine.DmnEngine dmnEngine

historyLevel

protected HistoryLevel historyLevel

historyLevels

protected List<HistoryLevel> historyLevels
a list of supported history levels


customHistoryLevels

protected List<HistoryLevel> customHistoryLevels
a list of supported custom history levels


preParseListeners

protected List<BpmnParseListener> preParseListeners

postParseListeners

protected List<BpmnParseListener> postParseListeners

customPreCmmnTransformListeners

protected List<CmmnTransformListener> customPreCmmnTransformListeners

customPostCmmnTransformListeners

protected List<CmmnTransformListener> customPostCmmnTransformListeners

beans

protected Map<Object,Object> beans

isDbIdentityUsed

protected boolean isDbIdentityUsed

isDbHistoryUsed

protected boolean isDbHistoryUsed

delegateInterceptor

protected DelegateInterceptor delegateInterceptor

actualCommandExecutor

protected CommandInterceptor actualCommandExecutor

customRejectedJobsHandler

protected RejectedJobsHandler customRejectedJobsHandler

eventHandlers

protected Map<String,EventHandler> eventHandlers

customEventHandlers

protected List<EventHandler> customEventHandlers

failedJobCommandFactory

protected FailedJobCommandFactory failedJobCommandFactory

databaseTablePrefix

protected String databaseTablePrefix

databaseSchema

protected String databaseSchema
In some situations you want to set the schema to use for table checks / generation if the database metadata doesn't return that correctly, see https://jira.codehaus.org/browse/ACT-1220, https://jira.codehaus.org/browse/ACT-1062


isCreateDiagramOnDeploy

protected boolean isCreateDiagramOnDeploy

processApplicationManager

protected ProcessApplicationManager processApplicationManager

correlationHandler

protected CorrelationHandler correlationHandler

identityProviderSessionFactory

protected SessionFactory identityProviderSessionFactory
session factory to be used for obtaining identity provider sessions


passwordEncryptor

protected PasswordEncryptor passwordEncryptor

customPasswordChecker

protected List<PasswordEncryptor> customPasswordChecker

passwordManager

protected PasswordManager passwordManager

saltGenerator

protected SaltGenerator saltGenerator

registeredDeployments

protected Set<String> registeredDeployments

resourceAuthorizationProvider

protected ResourceAuthorizationProvider resourceAuthorizationProvider

processEnginePlugins

protected List<ProcessEnginePlugin> processEnginePlugins

historyEventProducer

protected HistoryEventProducer historyEventProducer

cmmnHistoryEventProducer

protected CmmnHistoryEventProducer cmmnHistoryEventProducer

dmnHistoryEventProducer

protected DmnHistoryEventProducer dmnHistoryEventProducer

historyEventHandler

protected HistoryEventHandler historyEventHandler

isExecutionTreePrefetchEnabled

protected boolean isExecutionTreePrefetchEnabled

isDeploymentLockUsed

protected boolean isDeploymentLockUsed
If true the process engine will attempt to acquire an exclusive lock before creating a deployment.


isDeploymentSynchronized

protected boolean isDeploymentSynchronized
If true then several deployments will be processed strictly sequentally. When false they may be processed in parallel.


isDbEntityCacheReuseEnabled

protected boolean isDbEntityCacheReuseEnabled
Allows setting whether the process engine should try reusing the first level entity cache. Default setting is false, enabling it improves performance of asynchronous continuations.


isInvokeCustomVariableListeners

protected boolean isInvokeCustomVariableListeners

processEngine

protected ProcessEngineImpl processEngine
The process engine created by this configuration.


artifactFactory

protected ArtifactFactory artifactFactory
used to create instances for listeners, JavaDelegates, etc


dbEntityCacheKeyMapping

protected DbEntityCacheKeyMapping dbEntityCacheKeyMapping

metricsRegistry

protected MetricsRegistry metricsRegistry
the metrics registry


dbMetricsReporter

protected DbMetricsReporter dbMetricsReporter

isMetricsEnabled

protected boolean isMetricsEnabled

isDbMetricsReporterActivate

protected boolean isDbMetricsReporterActivate

metricsReporterIdProvider

protected MetricsReporterIdProvider metricsReporterIdProvider

enableExpressionsInAdhocQueries

protected boolean enableExpressionsInAdhocQueries
handling of expressions submitted via API; can be used as guards against remote code execution


enableExpressionsInStoredQueries

protected boolean enableExpressionsInStoredQueries

restrictUserOperationLogToAuthenticatedUsers

protected boolean restrictUserOperationLogToAuthenticatedUsers
If true, user operation log entries are only written if there is an authenticated user present in the context. If false, user operation log entries are written regardless of authentication state.


disableStrictCallActivityValidation

protected boolean disableStrictCallActivityValidation

isBpmnStacktraceVerbose

protected boolean isBpmnStacktraceVerbose

forceCloseMybatisConnectionPool

protected boolean forceCloseMybatisConnectionPool

tenantIdProvider

protected TenantIdProvider tenantIdProvider

commandCheckers

protected List<CommandChecker> commandCheckers

migrationActivityMatcher

protected MigrationActivityMatcher migrationActivityMatcher

customPreMigrationActivityValidators

protected List<MigrationActivityValidator> customPreMigrationActivityValidators

customPostMigrationActivityValidators

protected List<MigrationActivityValidator> customPostMigrationActivityValidators

migrationInstructionGenerator

protected MigrationInstructionGenerator migrationInstructionGenerator

customPreMigrationInstructionValidators

protected List<MigrationInstructionValidator> customPreMigrationInstructionValidators

customPostMigrationInstructionValidators

protected List<MigrationInstructionValidator> customPostMigrationInstructionValidators

migrationInstructionValidators

protected List<MigrationInstructionValidator> migrationInstructionValidators

customPreMigratingActivityInstanceValidators

protected List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators

customPostMigratingActivityInstanceValidators

protected List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators

migratingActivityInstanceValidators

protected List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators

migratingTransitionInstanceValidators

protected List<MigratingTransitionInstanceValidator> migratingTransitionInstanceValidators

migratingCompensationInstanceValidators

protected List<MigratingCompensationInstanceValidator> migratingCompensationInstanceValidators

defaultUserPermissionForTask

protected Permission defaultUserPermissionForTask

isUseSharedSqlSessionFactory

protected boolean isUseSharedSqlSessionFactory

databaseTypeMappings

protected static Properties databaseTypeMappings

MY_SQL_PRODUCT_NAME

protected static final String MY_SQL_PRODUCT_NAME
See Also:
Constant Field Values

MARIA_DB_PRODUCT_NAME

protected static final String MARIA_DB_PRODUCT_NAME
See Also:
Constant Field Values
Constructor Detail

ProcessEngineConfigurationImpl

public ProcessEngineConfigurationImpl()
Method Detail

buildProcessEngine

public ProcessEngine buildProcessEngine()
Specified by:
buildProcessEngine in class ProcessEngineConfiguration

init

protected void init()

initHistoryCleanup

public void initHistoryCleanup()

invokePreInit

protected void invokePreInit()

invokePostInit

protected void invokePostInit()

invokePostProcessEngineBuild

protected void invokePostProcessEngineBuild(ProcessEngine engine)

initFailedJobCommandFactory

protected void initFailedJobCommandFactory()

initIncidentHandlers

protected void initIncidentHandlers()

initBatchHandlers

protected void initBatchHandlers()

getDefaultCommandInterceptorsTxRequired

protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()

getDefaultCommandInterceptorsTxRequiresNew

protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()

initCommandExecutors

protected void initCommandExecutors()

initActualCommandExecutor

protected void initActualCommandExecutor()

initCommandInterceptorsTxRequired

protected void initCommandInterceptorsTxRequired()

initCommandInterceptorsTxRequiresNew

protected void initCommandInterceptorsTxRequiresNew()

initCommandExecutorTxRequired

protected void initCommandExecutorTxRequired()

initCommandExecutorTxRequiresNew

protected void initCommandExecutorTxRequiresNew()

initCommandExecutorDbSchemaOperations

protected void initCommandExecutorDbSchemaOperations()

initInterceptorChain

protected CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain)

initServices

protected void initServices()

initService

protected void initService(Object service)

initDataSource

protected void initDataSource()

getDefaultDatabaseTypeMappings

protected static Properties getDefaultDatabaseTypeMappings()

initDatabaseType

public void initDatabaseType()

checkForMariaDb

protected String checkForMariaDb(DatabaseMetaData databaseMetaData,
                                 String databaseName)
The product name of mariadb is still 'MySQL'. This method tries if it can find some evidence for mariadb. If it is successful it will return "MariaDB", otherwise the provided database name.


initTransactionFactory

protected void initTransactionFactory()

initSqlSessionFactory

protected void initSqlSessionFactory()

initSqlSessionFactoryProperties

public static void initSqlSessionFactoryProperties(Properties properties,
                                                   String databaseTablePrefix,
                                                   String databaseType)

getMyBatisXmlConfigurationSteam

protected InputStream getMyBatisXmlConfigurationSteam()

initIdentityProviderSessionFactory

protected void initIdentityProviderSessionFactory()

initSessionFactories

protected void initSessionFactories()

initPersistenceProviders

protected void initPersistenceProviders()

initMigration

protected void initMigration()

initMigrationActivityMatcher

protected void initMigrationActivityMatcher()

initMigrationInstructionGenerator

protected void initMigrationInstructionGenerator()

initMigrationInstructionValidators

protected void initMigrationInstructionValidators()

initMigratingActivityInstanceValidators

protected void initMigratingActivityInstanceValidators()

initMigratingTransitionInstanceValidators

protected void initMigratingTransitionInstanceValidators()

initMigratingCompensationInstanceValidators

protected void initMigratingCompensationInstanceValidators()

ensurePrefixAndSchemaFitToegether

protected void ensurePrefixAndSchemaFitToegether(String prefix,
                                                 String schema)
When providing a schema and a prefix the prefix has to be the schema ending with a dot.


addSessionFactory

protected void addSessionFactory(SessionFactory sessionFactory)

initDeployers

protected void initDeployers()

getDefaultDeployers

protected Collection<? extends Deployer> getDefaultDeployers()

getBpmnDeployer

protected BpmnDeployer getBpmnDeployer()

getDefaultBPMNParseListeners

protected List<BpmnParseListener> getDefaultBPMNParseListeners()

getCmmnDeployer

protected CmmnDeployer getCmmnDeployer()

getDefaultCmmnTransformListeners

protected List<CmmnTransformListener> getDefaultCmmnTransformListeners()

getDecisionDefinitionDeployer

protected DecisionDefinitionDeployer getDecisionDefinitionDeployer()

getDecisionRequirementsDefinitionDeployer

protected DecisionRequirementsDefinitionDeployer getDecisionRequirementsDefinitionDeployer()

getDmnEngine

public org.camunda.bpm.dmn.engine.DmnEngine getDmnEngine()

setDmnEngine

public void setDmnEngine(org.camunda.bpm.dmn.engine.DmnEngine dmnEngine)

getDmnEngineConfiguration

public org.camunda.bpm.dmn.engine.impl.DefaultDmnEngineConfiguration getDmnEngineConfiguration()

setDmnEngineConfiguration

public void setDmnEngineConfiguration(org.camunda.bpm.dmn.engine.impl.DefaultDmnEngineConfiguration dmnEngineConfiguration)

initJobExecutor

protected void initJobExecutor()

initJobProvider

protected void initJobProvider()

initExternalTaskPriorityProvider

protected void initExternalTaskPriorityProvider()

initHistoryLevel

public void initHistoryLevel()

initIdGenerator

protected void initIdGenerator()

initCommandContextFactory

protected void initCommandContextFactory()

initTransactionContextFactory

protected void initTransactionContextFactory()

initValueTypeResolver

protected void initValueTypeResolver()

initDefaultCharset

protected void initDefaultCharset()

initMetrics

protected void initMetrics()

initDefaultMetrics

protected void initDefaultMetrics(MetricsRegistry metricsRegistry)

initSerialization

protected void initSerialization()

initFormEngines

protected void initFormEngines()

initFormTypes

protected void initFormTypes()

initFormFieldValidators

protected void initFormFieldValidators()

initScripting

protected void initScripting()

initDmnEngine

protected void initDmnEngine()

initExpressionManager

protected void initExpressionManager()

initBusinessCalendarManager

protected void initBusinessCalendarManager()

initDelegateInterceptor

protected void initDelegateInterceptor()

initEventHandlers

protected void initEventHandlers()

initCommandCheckers

protected void initCommandCheckers()

initJpa

protected void initJpa()

initBeans

protected void initBeans()

initArtifactFactory

protected void initArtifactFactory()

initProcessApplicationManager

protected void initProcessApplicationManager()

initCorrelationHandler

protected void initCorrelationHandler()

initHistoryEventProducer

protected void initHistoryEventProducer()

initCmmnHistoryEventProducer

protected void initCmmnHistoryEventProducer()

initDmnHistoryEventProducer

protected void initDmnHistoryEventProducer()

initHistoryEventHandler

protected void initHistoryEventHandler()

initPasswordDigest

protected void initPasswordDigest()

initDeploymentRegistration

protected void initDeploymentRegistration()

initCacheFactory

protected void initCacheFactory()

initResourceAuthorizationProvider

protected void initResourceAuthorizationProvider()

initDefaultUserPermissionForTask

protected void initDefaultUserPermissionForTask()

getProcessEngineName

public String getProcessEngineName()
Overrides:
getProcessEngineName in class ProcessEngineConfiguration

getHistoryLevel

public HistoryLevel getHistoryLevel()

setHistoryLevel

public void setHistoryLevel(HistoryLevel historyLevel)

getDefaultHistoryLevel

public HistoryLevel getDefaultHistoryLevel()

setProcessEngineName

public ProcessEngineConfigurationImpl setProcessEngineName(String processEngineName)
Overrides:
setProcessEngineName in class ProcessEngineConfiguration

getCustomPreCommandInterceptorsTxRequired

public List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequired()

setCustomPreCommandInterceptorsTxRequired

public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequired(List<CommandInterceptor> customPreCommandInterceptorsTxRequired)

getCustomPostCommandInterceptorsTxRequired

public List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequired()

setCustomPostCommandInterceptorsTxRequired

public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequired(List<CommandInterceptor> customPostCommandInterceptorsTxRequired)

getCommandInterceptorsTxRequired

public List<CommandInterceptor> getCommandInterceptorsTxRequired()

setCommandInterceptorsTxRequired

public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequired(List<CommandInterceptor> commandInterceptorsTxRequired)

getCommandExecutorTxRequired

public CommandExecutor getCommandExecutorTxRequired()

setCommandExecutorTxRequired

public ProcessEngineConfigurationImpl setCommandExecutorTxRequired(CommandExecutor commandExecutorTxRequired)

getCustomPreCommandInterceptorsTxRequiresNew

public List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequiresNew()

setCustomPreCommandInterceptorsTxRequiresNew

public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew)

getCustomPostCommandInterceptorsTxRequiresNew

public List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequiresNew()

setCustomPostCommandInterceptorsTxRequiresNew

public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew)

getCommandInterceptorsTxRequiresNew

public List<CommandInterceptor> getCommandInterceptorsTxRequiresNew()

setCommandInterceptorsTxRequiresNew

public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequiresNew(List<CommandInterceptor> commandInterceptorsTxRequiresNew)

getCommandExecutorTxRequiresNew

public CommandExecutor getCommandExecutorTxRequiresNew()

setCommandExecutorTxRequiresNew

public ProcessEngineConfigurationImpl setCommandExecutorTxRequiresNew(CommandExecutor commandExecutorTxRequiresNew)

getRepositoryService

public RepositoryService getRepositoryService()

setRepositoryService

public ProcessEngineConfigurationImpl setRepositoryService(RepositoryService repositoryService)

getRuntimeService

public RuntimeService getRuntimeService()

setRuntimeService

public ProcessEngineConfigurationImpl setRuntimeService(RuntimeService runtimeService)

getHistoryService

public HistoryService getHistoryService()

setHistoryService

public ProcessEngineConfigurationImpl setHistoryService(HistoryService historyService)

getIdentityService

public IdentityService getIdentityService()

setIdentityService

public ProcessEngineConfigurationImpl setIdentityService(IdentityService identityService)

getTaskService

public TaskService getTaskService()

setTaskService

public ProcessEngineConfigurationImpl setTaskService(TaskService taskService)

getFormService

public FormService getFormService()

setFormService

public ProcessEngineConfigurationImpl setFormService(FormService formService)

getManagementService

public ManagementService getManagementService()

getAuthorizationService

public AuthorizationService getAuthorizationService()

setManagementService

public ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)

getCaseService

public CaseService getCaseService()

setCaseService

public void setCaseService(CaseService caseService)

getFilterService

public FilterService getFilterService()

setFilterService

public void setFilterService(FilterService filterService)

getExternalTaskService

public ExternalTaskService getExternalTaskService()

setExternalTaskService

public void setExternalTaskService(ExternalTaskService externalTaskService)

getDecisionService

public DecisionService getDecisionService()

setDecisionService

public void setDecisionService(DecisionService decisionService)

getSessionFactories

public Map<Class<?>,SessionFactory> getSessionFactories()

setSessionFactories

public ProcessEngineConfigurationImpl setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)

getDeployers

public List<Deployer> getDeployers()

setDeployers

public ProcessEngineConfigurationImpl setDeployers(List<Deployer> deployers)

getJobExecutor

public JobExecutor getJobExecutor()

setJobExecutor

public ProcessEngineConfigurationImpl setJobExecutor(JobExecutor jobExecutor)

getJobPriorityProvider

public PriorityProvider<JobDeclaration<?,?>> getJobPriorityProvider()

setJobPriorityProvider

public void setJobPriorityProvider(PriorityProvider<JobDeclaration<?,?>> jobPriorityProvider)

getExternalTaskPriorityProvider

public PriorityProvider<ExternalTaskActivityBehavior> getExternalTaskPriorityProvider()

setExternalTaskPriorityProvider

public void setExternalTaskPriorityProvider(PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider)

getIdGenerator

public IdGenerator getIdGenerator()

setIdGenerator

public ProcessEngineConfigurationImpl setIdGenerator(IdGenerator idGenerator)

getWsSyncFactoryClassName

public String getWsSyncFactoryClassName()

setWsSyncFactoryClassName

public ProcessEngineConfigurationImpl setWsSyncFactoryClassName(String wsSyncFactoryClassName)

getFormEngines

public Map<String,FormEngine> getFormEngines()

setFormEngines

public ProcessEngineConfigurationImpl setFormEngines(Map<String,FormEngine> formEngines)

getFormTypes

public FormTypes getFormTypes()

setFormTypes

public ProcessEngineConfigurationImpl setFormTypes(FormTypes formTypes)

getScriptingEngines

public ScriptingEngines getScriptingEngines()

setScriptingEngines

public ProcessEngineConfigurationImpl setScriptingEngines(ScriptingEngines scriptingEngines)

getVariableSerializers

public VariableSerializers getVariableSerializers()

getFallbackSerializerFactory

public VariableSerializerFactory getFallbackSerializerFactory()

setFallbackSerializerFactory

public void setFallbackSerializerFactory(VariableSerializerFactory fallbackSerializerFactory)

setVariableTypes

public ProcessEngineConfigurationImpl setVariableTypes(VariableSerializers variableSerializers)

getExpressionManager

public ExpressionManager getExpressionManager()

setExpressionManager

public ProcessEngineConfigurationImpl setExpressionManager(ExpressionManager expressionManager)

getBusinessCalendarManager

public BusinessCalendarManager getBusinessCalendarManager()

setBusinessCalendarManager

public ProcessEngineConfigurationImpl setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager)

getCommandContextFactory

public CommandContextFactory getCommandContextFactory()

setCommandContextFactory

public ProcessEngineConfigurationImpl setCommandContextFactory(CommandContextFactory commandContextFactory)

getTransactionContextFactory

public TransactionContextFactory getTransactionContextFactory()

setTransactionContextFactory

public ProcessEngineConfigurationImpl setTransactionContextFactory(TransactionContextFactory transactionContextFactory)

getCustomPreDeployers

public List<Deployer> getCustomPreDeployers()

setCustomPreDeployers

public ProcessEngineConfigurationImpl setCustomPreDeployers(List<Deployer> customPreDeployers)

getCustomPostDeployers

public List<Deployer> getCustomPostDeployers()

setCustomPostDeployers

public ProcessEngineConfigurationImpl setCustomPostDeployers(List<Deployer> customPostDeployers)

setCacheFactory

public void setCacheFactory(CacheFactory cacheFactory)

setCacheCapacity

public void setCacheCapacity(int cacheCapacity)

setEnableFetchProcessDefinitionDescription

public void setEnableFetchProcessDefinitionDescription(boolean enableFetchProcessDefinitionDescription)

getEnableFetchProcessDefinitionDescription

public boolean getEnableFetchProcessDefinitionDescription()

getDefaultUserPermissionForTask

public Permission getDefaultUserPermissionForTask()

setDefaultUserPermissionForTask

public ProcessEngineConfigurationImpl setDefaultUserPermissionForTask(Permission defaultUserPermissionForTask)

getJobHandlers

public Map<String,JobHandler> getJobHandlers()

setJobHandlers

public ProcessEngineConfigurationImpl setJobHandlers(Map<String,JobHandler> jobHandlers)

getSqlSessionFactory

public org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()

setSqlSessionFactory

public ProcessEngineConfigurationImpl setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)

getDbSqlSessionFactory

public DbSqlSessionFactory getDbSqlSessionFactory()

setDbSqlSessionFactory

public ProcessEngineConfigurationImpl setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory)

getTransactionFactory

public org.apache.ibatis.transaction.TransactionFactory getTransactionFactory()

setTransactionFactory

public ProcessEngineConfigurationImpl setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory)

getCustomSessionFactories

public List<SessionFactory> getCustomSessionFactories()

setCustomSessionFactories

public ProcessEngineConfigurationImpl setCustomSessionFactories(List<SessionFactory> customSessionFactories)

getCustomJobHandlers

public List<JobHandler> getCustomJobHandlers()

setCustomJobHandlers

public ProcessEngineConfigurationImpl setCustomJobHandlers(List<JobHandler> customJobHandlers)

getCustomFormEngines

public List<FormEngine> getCustomFormEngines()

setCustomFormEngines

public ProcessEngineConfigurationImpl setCustomFormEngines(List<FormEngine> customFormEngines)

getCustomFormTypes

public List<AbstractFormFieldType> getCustomFormTypes()

setCustomFormTypes

public ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormFieldType> customFormTypes)

getCustomPreVariableSerializers

public List<TypedValueSerializer> getCustomPreVariableSerializers()

setCustomPreVariableSerializers

public ProcessEngineConfigurationImpl setCustomPreVariableSerializers(List<TypedValueSerializer> customPreVariableTypes)

getCustomPostVariableSerializers

public List<TypedValueSerializer> getCustomPostVariableSerializers()

setCustomPostVariableSerializers

public ProcessEngineConfigurationImpl setCustomPostVariableSerializers(List<TypedValueSerializer> customPostVariableTypes)

getCustomPreBPMNParseListeners

public List<BpmnParseListener> getCustomPreBPMNParseListeners()

setCustomPreBPMNParseListeners

public void setCustomPreBPMNParseListeners(List<BpmnParseListener> preParseListeners)

getCustomPostBPMNParseListeners

public List<BpmnParseListener> getCustomPostBPMNParseListeners()

setCustomPostBPMNParseListeners

public void setCustomPostBPMNParseListeners(List<BpmnParseListener> postParseListeners)

getPreParseListeners

@Deprecated
public List<BpmnParseListener> getPreParseListeners()
Deprecated. use getCustomPreBPMNParseListeners() instead.


setPreParseListeners

@Deprecated
public void setPreParseListeners(List<BpmnParseListener> preParseListeners)
Deprecated. use setCustomPreBPMNParseListeners(java.util.List) instead.


getPostParseListeners

@Deprecated
public List<BpmnParseListener> getPostParseListeners()
Deprecated. use getCustomPostBPMNParseListeners() instead.


setPostParseListeners

@Deprecated
public void setPostParseListeners(List<BpmnParseListener> postParseListeners)
Deprecated. use setCustomPostBPMNParseListeners(java.util.List) instead.


getCustomPreCmmnTransformListeners

public List<CmmnTransformListener> getCustomPreCmmnTransformListeners()

setCustomPreCmmnTransformListeners

public void setCustomPreCmmnTransformListeners(List<CmmnTransformListener> customPreCmmnTransformListeners)

getCustomPostCmmnTransformListeners

public List<CmmnTransformListener> getCustomPostCmmnTransformListeners()

setCustomPostCmmnTransformListeners

public void setCustomPostCmmnTransformListeners(List<CmmnTransformListener> customPostCmmnTransformListeners)

getBeans

public Map<Object,Object> getBeans()

setBeans

public void setBeans(Map<Object,Object> beans)

setClassLoader

public ProcessEngineConfigurationImpl setClassLoader(ClassLoader classLoader)
Overrides:
setClassLoader in class ProcessEngineConfiguration

setDatabaseType

public ProcessEngineConfigurationImpl setDatabaseType(String databaseType)
Overrides:
setDatabaseType in class ProcessEngineConfiguration

setDataSource

public ProcessEngineConfigurationImpl setDataSource(DataSource dataSource)
Overrides:
setDataSource in class ProcessEngineConfiguration

setDatabaseSchemaUpdate

public ProcessEngineConfigurationImpl setDatabaseSchemaUpdate(String databaseSchemaUpdate)
Overrides:
setDatabaseSchemaUpdate in class ProcessEngineConfiguration

setHistory

public ProcessEngineConfigurationImpl setHistory(String history)
Overrides:
setHistory in class ProcessEngineConfiguration

setIdBlockSize

public ProcessEngineConfigurationImpl setIdBlockSize(int idBlockSize)
Overrides:
setIdBlockSize in class ProcessEngineConfiguration

setJdbcDriver

public ProcessEngineConfigurationImpl setJdbcDriver(String jdbcDriver)
Overrides:
setJdbcDriver in class ProcessEngineConfiguration

setJdbcPassword

public ProcessEngineConfigurationImpl setJdbcPassword(String jdbcPassword)
Overrides:
setJdbcPassword in class ProcessEngineConfiguration

setJdbcUrl

public ProcessEngineConfigurationImpl setJdbcUrl(String jdbcUrl)
Overrides:
setJdbcUrl in class ProcessEngineConfiguration

setJdbcUsername

public ProcessEngineConfigurationImpl setJdbcUsername(String jdbcUsername)
Overrides:
setJdbcUsername in class ProcessEngineConfiguration

setJobExecutorActivate

public ProcessEngineConfigurationImpl setJobExecutorActivate(boolean jobExecutorActivate)
Overrides:
setJobExecutorActivate in class ProcessEngineConfiguration

setMailServerDefaultFrom

public ProcessEngineConfigurationImpl setMailServerDefaultFrom(String mailServerDefaultFrom)
Overrides:
setMailServerDefaultFrom in class ProcessEngineConfiguration

setMailServerHost

public ProcessEngineConfigurationImpl setMailServerHost(String mailServerHost)
Overrides:
setMailServerHost in class ProcessEngineConfiguration

setMailServerPassword

public ProcessEngineConfigurationImpl setMailServerPassword(String mailServerPassword)
Overrides:
setMailServerPassword in class ProcessEngineConfiguration

setMailServerPort

public ProcessEngineConfigurationImpl setMailServerPort(int mailServerPort)
Overrides:
setMailServerPort in class ProcessEngineConfiguration

setMailServerUseTLS

public ProcessEngineConfigurationImpl setMailServerUseTLS(boolean useTLS)
Overrides:
setMailServerUseTLS in class ProcessEngineConfiguration

setMailServerUsername

public ProcessEngineConfigurationImpl setMailServerUsername(String mailServerUsername)
Overrides:
setMailServerUsername in class ProcessEngineConfiguration

setJdbcMaxActiveConnections

public ProcessEngineConfigurationImpl setJdbcMaxActiveConnections(int jdbcMaxActiveConnections)
Overrides:
setJdbcMaxActiveConnections in class ProcessEngineConfiguration

setJdbcMaxCheckoutTime

public ProcessEngineConfigurationImpl setJdbcMaxCheckoutTime(int jdbcMaxCheckoutTime)
Overrides:
setJdbcMaxCheckoutTime in class ProcessEngineConfiguration

setJdbcMaxIdleConnections

public ProcessEngineConfigurationImpl setJdbcMaxIdleConnections(int jdbcMaxIdleConnections)
Overrides:
setJdbcMaxIdleConnections in class ProcessEngineConfiguration

setJdbcMaxWaitTime

public ProcessEngineConfigurationImpl setJdbcMaxWaitTime(int jdbcMaxWaitTime)
Overrides:
setJdbcMaxWaitTime in class ProcessEngineConfiguration

setTransactionsExternallyManaged

public ProcessEngineConfigurationImpl setTransactionsExternallyManaged(boolean transactionsExternallyManaged)
Overrides:
setTransactionsExternallyManaged in class ProcessEngineConfiguration

setJpaEntityManagerFactory

public ProcessEngineConfigurationImpl setJpaEntityManagerFactory(Object jpaEntityManagerFactory)
Overrides:
setJpaEntityManagerFactory in class ProcessEngineConfiguration

setJpaHandleTransaction

public ProcessEngineConfigurationImpl setJpaHandleTransaction(boolean jpaHandleTransaction)
Overrides:
setJpaHandleTransaction in class ProcessEngineConfiguration

setJpaCloseEntityManager

public ProcessEngineConfigurationImpl setJpaCloseEntityManager(boolean jpaCloseEntityManager)
Overrides:
setJpaCloseEntityManager in class ProcessEngineConfiguration

setJdbcPingEnabled

public ProcessEngineConfigurationImpl setJdbcPingEnabled(boolean jdbcPingEnabled)
Overrides:
setJdbcPingEnabled in class ProcessEngineConfiguration

setJdbcPingQuery

public ProcessEngineConfigurationImpl setJdbcPingQuery(String jdbcPingQuery)
Overrides:
setJdbcPingQuery in class ProcessEngineConfiguration

setJdbcPingConnectionNotUsedFor

public ProcessEngineConfigurationImpl setJdbcPingConnectionNotUsedFor(int jdbcPingNotUsedFor)
Overrides:
setJdbcPingConnectionNotUsedFor in class ProcessEngineConfiguration

isDbIdentityUsed

public boolean isDbIdentityUsed()

setDbIdentityUsed

public void setDbIdentityUsed(boolean isDbIdentityUsed)

isDbHistoryUsed

public boolean isDbHistoryUsed()

setDbHistoryUsed

public void setDbHistoryUsed(boolean isDbHistoryUsed)

getResolverFactories

public List<ResolverFactory> getResolverFactories()

setResolverFactories

public void setResolverFactories(List<ResolverFactory> resolverFactories)

getDeploymentCache

public DeploymentCache getDeploymentCache()

setDeploymentCache

public void setDeploymentCache(DeploymentCache deploymentCache)

setDelegateInterceptor

public ProcessEngineConfigurationImpl setDelegateInterceptor(DelegateInterceptor delegateInterceptor)

getDelegateInterceptor

public DelegateInterceptor getDelegateInterceptor()

getCustomRejectedJobsHandler

public RejectedJobsHandler getCustomRejectedJobsHandler()

setCustomRejectedJobsHandler

public ProcessEngineConfigurationImpl setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler)

getEventHandler

public EventHandler getEventHandler(String eventType)

setEventHandlers

public void setEventHandlers(Map<String,EventHandler> eventHandlers)

getEventHandlers

public Map<String,EventHandler> getEventHandlers()

getCustomEventHandlers

public List<EventHandler> getCustomEventHandlers()

setCustomEventHandlers

public void setCustomEventHandlers(List<EventHandler> customEventHandlers)

getFailedJobCommandFactory

public FailedJobCommandFactory getFailedJobCommandFactory()

setFailedJobCommandFactory

public ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)

setDatabaseTablePrefix

public ProcessEngineConfiguration setDatabaseTablePrefix(String databaseTablePrefix)
Allows configuring a database table prefix which is used for all runtime operations of the process engine. For example, if you specify a prefix named 'PRE1.', activiti will query for executions in a table named 'PRE1.ACT_RU_EXECUTION_'.

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.

Since:
5.9

getDatabaseTablePrefix

public String getDatabaseTablePrefix()

isCreateDiagramOnDeploy

public boolean isCreateDiagramOnDeploy()

setCreateDiagramOnDeploy

public ProcessEngineConfiguration setCreateDiagramOnDeploy(boolean createDiagramOnDeploy)

getDatabaseSchema

public String getDatabaseSchema()

setDatabaseSchema

public void setDatabaseSchema(String databaseSchema)

getIdGeneratorDataSource

public DataSource getIdGeneratorDataSource()

setIdGeneratorDataSource

public void setIdGeneratorDataSource(DataSource idGeneratorDataSource)

getIdGeneratorDataSourceJndiName

public String getIdGeneratorDataSourceJndiName()

setIdGeneratorDataSourceJndiName

public void setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)

getProcessApplicationManager

public ProcessApplicationManager getProcessApplicationManager()

setProcessApplicationManager

public void setProcessApplicationManager(ProcessApplicationManager processApplicationManager)

getCommandExecutorSchemaOperations

public CommandExecutor getCommandExecutorSchemaOperations()

setCommandExecutorSchemaOperations

public void setCommandExecutorSchemaOperations(CommandExecutor commandExecutorSchemaOperations)

getCorrelationHandler

public CorrelationHandler getCorrelationHandler()

setCorrelationHandler

public void setCorrelationHandler(CorrelationHandler correlationHandler)

setHistoryEventHandler

public ProcessEngineConfigurationImpl setHistoryEventHandler(HistoryEventHandler historyEventHandler)

getHistoryEventHandler

public HistoryEventHandler getHistoryEventHandler()

getIncidentHandler

public IncidentHandler getIncidentHandler(String incidentType)

getIncidentHandlers

public Map<String,IncidentHandler> getIncidentHandlers()

setIncidentHandlers

public void setIncidentHandlers(Map<String,IncidentHandler> incidentHandlers)

getCustomIncidentHandlers

public List<IncidentHandler> getCustomIncidentHandlers()

setCustomIncidentHandlers

public void setCustomIncidentHandlers(List<IncidentHandler> customIncidentHandlers)

getBatchHandlers

public Map<String,BatchJobHandler<?>> getBatchHandlers()

setBatchHandlers

public void setBatchHandlers(Map<String,BatchJobHandler<?>> batchHandlers)

getCustomBatchJobHandlers

public List<BatchJobHandler<?>> getCustomBatchJobHandlers()

setCustomBatchJobHandlers

public void setCustomBatchJobHandlers(List<BatchJobHandler<?>> customBatchJobHandlers)

getBatchJobsPerSeed

public int getBatchJobsPerSeed()

setBatchJobsPerSeed

public void setBatchJobsPerSeed(int batchJobsPerSeed)

getInvocationsPerBatchJob

public int getInvocationsPerBatchJob()

setInvocationsPerBatchJob

public void setInvocationsPerBatchJob(int invocationsPerBatchJob)

getBatchPollTime

public int getBatchPollTime()

setBatchPollTime

public void setBatchPollTime(int batchPollTime)

getBatchJobPriority

public long getBatchJobPriority()

setBatchJobPriority

public void setBatchJobPriority(long batchJobPriority)

getIdentityProviderSessionFactory

public SessionFactory getIdentityProviderSessionFactory()

setIdentityProviderSessionFactory

public void setIdentityProviderSessionFactory(SessionFactory identityProviderSessionFactory)

getSaltGenerator

public SaltGenerator getSaltGenerator()

setSaltGenerator

public void setSaltGenerator(SaltGenerator saltGenerator)

setPasswordEncryptor

public void setPasswordEncryptor(PasswordEncryptor passwordEncryptor)

getPasswordEncryptor

public PasswordEncryptor getPasswordEncryptor()

getCustomPasswordChecker

public List<PasswordEncryptor> getCustomPasswordChecker()

setCustomPasswordChecker

public void setCustomPasswordChecker(List<PasswordEncryptor> customPasswordChecker)

getPasswordManager

public PasswordManager getPasswordManager()

setPasswordManager

public void setPasswordManager(PasswordManager passwordManager)

getRegisteredDeployments

public Set<String> getRegisteredDeployments()

setRegisteredDeployments

public void setRegisteredDeployments(Set<String> registeredDeployments)

getResourceAuthorizationProvider

public ResourceAuthorizationProvider getResourceAuthorizationProvider()

setResourceAuthorizationProvider

public void setResourceAuthorizationProvider(ResourceAuthorizationProvider resourceAuthorizationProvider)

getProcessEnginePlugins

public List<ProcessEnginePlugin> getProcessEnginePlugins()

setProcessEnginePlugins

public void setProcessEnginePlugins(List<ProcessEnginePlugin> processEnginePlugins)

setHistoryEventProducer

public ProcessEngineConfigurationImpl setHistoryEventProducer(HistoryEventProducer historyEventProducer)

getHistoryEventProducer

public HistoryEventProducer getHistoryEventProducer()

setCmmnHistoryEventProducer

public ProcessEngineConfigurationImpl setCmmnHistoryEventProducer(CmmnHistoryEventProducer cmmnHistoryEventProducer)

getCmmnHistoryEventProducer

public CmmnHistoryEventProducer getCmmnHistoryEventProducer()

setDmnHistoryEventProducer

public ProcessEngineConfigurationImpl setDmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer)

getDmnHistoryEventProducer

public DmnHistoryEventProducer getDmnHistoryEventProducer()

getCustomFormFieldValidators

public Map<String,Class<? extends FormFieldValidator>> getCustomFormFieldValidators()

setCustomFormFieldValidators

public void setCustomFormFieldValidators(Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators)

setFormValidators

public void setFormValidators(FormValidators formValidators)

getFormValidators

public FormValidators getFormValidators()

isExecutionTreePrefetchEnabled

public boolean isExecutionTreePrefetchEnabled()

setExecutionTreePrefetchEnabled

public void setExecutionTreePrefetchEnabled(boolean isExecutionTreePrefetchingEnabled)

getProcessEngine

public ProcessEngineImpl getProcessEngine()

setAutoStoreScriptVariables

public void setAutoStoreScriptVariables(boolean autoStoreScriptVariables)
If set to true, the process engine will save all script variables (created from Java Script, Groovy ...) as process variables.


isAutoStoreScriptVariables

public boolean isAutoStoreScriptVariables()
Returns:
true if the process engine should save all script variables (created from Java Script, Groovy ...) as process variables.

setEnableScriptCompilation

public void setEnableScriptCompilation(boolean enableScriptCompilation)
If set to true, the process engine will attempt to pre-compile script sources at runtime to optimize script task execution performance.


isEnableScriptCompilation

public boolean isEnableScriptCompilation()
Returns:
true if compilation of script sources ins enabled. False otherwise.

isEnableGracefulDegradationOnContextSwitchFailure

public boolean isEnableGracefulDegradationOnContextSwitchFailure()

setEnableGracefulDegradationOnContextSwitchFailure

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:


isDeploymentLockUsed

public boolean isDeploymentLockUsed()
Returns:
true if the process engine acquires an exclusive lock when creating a deployment.

setDeploymentLockUsed

public void setDeploymentLockUsed(boolean isDeploymentLockUsed)
If set to true, the process engine will acquire an exclusive lock when creating a deployment. This ensures that DeploymentBuilder.enableDuplicateFiltering() works correctly in a clustered environment.


isDeploymentSynchronized

public boolean isDeploymentSynchronized()
Returns:
true if deployment processing must be synchronized

setDeploymentSynchronized

public void setDeploymentSynchronized(boolean deploymentSynchronized)
Sets if deployment processing must be synchronized.

Parameters:
deploymentSynchronized - true when deployment must be synchronized, false when several depoloyments may be processed in parallel

isCmmnEnabled

public boolean isCmmnEnabled()

setCmmnEnabled

public void setCmmnEnabled(boolean cmmnEnabled)

isDmnEnabled

public boolean isDmnEnabled()

setDmnEnabled

public void setDmnEnabled(boolean dmnEnabled)

getScriptFactory

public ScriptFactory getScriptFactory()

getScriptingEnvironment

public ScriptingEnvironment getScriptingEnvironment()

setScriptFactory

public void setScriptFactory(ScriptFactory scriptFactory)

setScriptingEnvironment

public void setScriptingEnvironment(ScriptingEnvironment scriptingEnvironment)

getEnvScriptResolvers

public List<ScriptEnvResolver> getEnvScriptResolvers()

setEnvScriptResolvers

public void setEnvScriptResolvers(List<ScriptEnvResolver> scriptEnvResolvers)

setArtifactFactory

public ProcessEngineConfiguration setArtifactFactory(ArtifactFactory artifactFactory)

getArtifactFactory

public ArtifactFactory getArtifactFactory()

getDefaultSerializationFormat

public String getDefaultSerializationFormat()

setDefaultSerializationFormat

public ProcessEngineConfigurationImpl setDefaultSerializationFormat(String defaultSerializationFormat)

setDefaultCharsetName

public ProcessEngineConfigurationImpl setDefaultCharsetName(String defaultCharsetName)

setDefaultCharset

public ProcessEngineConfigurationImpl setDefaultCharset(Charset defautlCharset)

getDefaultCharset

public Charset getDefaultCharset()

isDbEntityCacheReuseEnabled

public boolean isDbEntityCacheReuseEnabled()

setDbEntityCacheReuseEnabled

public ProcessEngineConfigurationImpl setDbEntityCacheReuseEnabled(boolean isDbEntityCacheReuseEnabled)

getDbEntityCacheKeyMapping

public DbEntityCacheKeyMapping getDbEntityCacheKeyMapping()

setDbEntityCacheKeyMapping

public ProcessEngineConfigurationImpl setDbEntityCacheKeyMapping(DbEntityCacheKeyMapping dbEntityCacheKeyMapping)

setCustomHistoryLevels

public ProcessEngineConfigurationImpl setCustomHistoryLevels(List<HistoryLevel> customHistoryLevels)

getHistoryLevels

public List<HistoryLevel> getHistoryLevels()

getCustomHistoryLevels

public List<HistoryLevel> getCustomHistoryLevels()

isInvokeCustomVariableListeners

public boolean isInvokeCustomVariableListeners()

setInvokeCustomVariableListeners

public ProcessEngineConfigurationImpl setInvokeCustomVariableListeners(boolean isInvokeCustomVariableListeners)

close

public void close()

getMetricsRegistry

public MetricsRegistry getMetricsRegistry()

setMetricsRegistry

public ProcessEngineConfigurationImpl setMetricsRegistry(MetricsRegistry metricsRegistry)

setMetricsEnabled

public ProcessEngineConfigurationImpl setMetricsEnabled(boolean isMetricsEnabled)

isMetricsEnabled

public boolean isMetricsEnabled()

getDbMetricsReporter

public DbMetricsReporter getDbMetricsReporter()

setDbMetricsReporter

public ProcessEngineConfigurationImpl setDbMetricsReporter(DbMetricsReporter dbMetricsReporter)

isDbMetricsReporterActivate

public boolean isDbMetricsReporterActivate()

setDbMetricsReporterActivate

public ProcessEngineConfigurationImpl setDbMetricsReporterActivate(boolean isDbMetricsReporterEnabled)

getMetricsReporterIdProvider

public MetricsReporterIdProvider getMetricsReporterIdProvider()

setMetricsReporterIdProvider

public void setMetricsReporterIdProvider(MetricsReporterIdProvider metricsReporterIdProvider)

isEnableScriptEngineCaching

public boolean isEnableScriptEngineCaching()

setEnableScriptEngineCaching

public ProcessEngineConfigurationImpl setEnableScriptEngineCaching(boolean enableScriptEngineCaching)

isEnableFetchScriptEngineFromProcessApplication

public boolean isEnableFetchScriptEngineFromProcessApplication()

setEnableFetchScriptEngineFromProcessApplication

public ProcessEngineConfigurationImpl setEnableFetchScriptEngineFromProcessApplication(boolean enable)

isEnableExpressionsInAdhocQueries

public boolean isEnableExpressionsInAdhocQueries()

setEnableExpressionsInAdhocQueries

public void setEnableExpressionsInAdhocQueries(boolean enableExpressionsInAdhocQueries)

isEnableExpressionsInStoredQueries

public boolean isEnableExpressionsInStoredQueries()

setEnableExpressionsInStoredQueries

public void setEnableExpressionsInStoredQueries(boolean enableExpressionsInStoredQueries)

setBpmnStacktraceVerbose

public ProcessEngineConfigurationImpl setBpmnStacktraceVerbose(boolean isBpmnStacktraceVerbose)

isBpmnStacktraceVerbose

public boolean isBpmnStacktraceVerbose()

isForceCloseMybatisConnectionPool

public boolean isForceCloseMybatisConnectionPool()

setForceCloseMybatisConnectionPool

public ProcessEngineConfigurationImpl setForceCloseMybatisConnectionPool(boolean forceCloseMybatisConnectionPool)

isRestrictUserOperationLogToAuthenticatedUsers

public boolean isRestrictUserOperationLogToAuthenticatedUsers()

setRestrictUserOperationLogToAuthenticatedUsers

public ProcessEngineConfigurationImpl setRestrictUserOperationLogToAuthenticatedUsers(boolean restrictUserOperationLogToAuthenticatedUsers)

setTenantIdProvider

public ProcessEngineConfigurationImpl setTenantIdProvider(TenantIdProvider tenantIdProvider)

getTenantIdProvider

public TenantIdProvider getTenantIdProvider()

setMigrationActivityMatcher

public void setMigrationActivityMatcher(MigrationActivityMatcher migrationActivityMatcher)

getMigrationActivityMatcher

public MigrationActivityMatcher getMigrationActivityMatcher()

setCustomPreMigrationActivityValidators

public void setCustomPreMigrationActivityValidators(List<MigrationActivityValidator> customPreMigrationActivityValidators)

getCustomPreMigrationActivityValidators

public List<MigrationActivityValidator> getCustomPreMigrationActivityValidators()

setCustomPostMigrationActivityValidators

public void setCustomPostMigrationActivityValidators(List<MigrationActivityValidator> customPostMigrationActivityValidators)

getCustomPostMigrationActivityValidators

public List<MigrationActivityValidator> getCustomPostMigrationActivityValidators()

getDefaultMigrationActivityValidators

public List<MigrationActivityValidator> getDefaultMigrationActivityValidators()

setMigrationInstructionGenerator

public void setMigrationInstructionGenerator(MigrationInstructionGenerator migrationInstructionGenerator)

getMigrationInstructionGenerator

public MigrationInstructionGenerator getMigrationInstructionGenerator()

setMigrationInstructionValidators

public void setMigrationInstructionValidators(List<MigrationInstructionValidator> migrationInstructionValidators)

getMigrationInstructionValidators

public List<MigrationInstructionValidator> getMigrationInstructionValidators()

setCustomPostMigrationInstructionValidators

public void setCustomPostMigrationInstructionValidators(List<MigrationInstructionValidator> customPostMigrationInstructionValidators)

getCustomPostMigrationInstructionValidators

public List<MigrationInstructionValidator> getCustomPostMigrationInstructionValidators()

setCustomPreMigrationInstructionValidators

public void setCustomPreMigrationInstructionValidators(List<MigrationInstructionValidator> customPreMigrationInstructionValidators)

getCustomPreMigrationInstructionValidators

public List<MigrationInstructionValidator> getCustomPreMigrationInstructionValidators()

getDefaultMigrationInstructionValidators

public List<MigrationInstructionValidator> getDefaultMigrationInstructionValidators()

setMigratingActivityInstanceValidators

public void setMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators)

getMigratingActivityInstanceValidators

public List<MigratingActivityInstanceValidator> getMigratingActivityInstanceValidators()

setCustomPostMigratingActivityInstanceValidators

public void setCustomPostMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators)

getCustomPostMigratingActivityInstanceValidators

public List<MigratingActivityInstanceValidator> getCustomPostMigratingActivityInstanceValidators()

setCustomPreMigratingActivityInstanceValidators

public void setCustomPreMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators)

getCustomPreMigratingActivityInstanceValidators

public List<MigratingActivityInstanceValidator> getCustomPreMigratingActivityInstanceValidators()

getMigratingTransitionInstanceValidators

public List<MigratingTransitionInstanceValidator> getMigratingTransitionInstanceValidators()

getMigratingCompensationInstanceValidators

public List<MigratingCompensationInstanceValidator> getMigratingCompensationInstanceValidators()

getDefaultMigratingActivityInstanceValidators

public List<MigratingActivityInstanceValidator> getDefaultMigratingActivityInstanceValidators()

getDefaultMigratingTransitionInstanceValidators

public List<MigratingTransitionInstanceValidator> getDefaultMigratingTransitionInstanceValidators()

getCommandCheckers

public List<CommandChecker> getCommandCheckers()

setCommandCheckers

public void setCommandCheckers(List<CommandChecker> commandCheckers)

setUseSharedSqlSessionFactory

public ProcessEngineConfigurationImpl setUseSharedSqlSessionFactory(boolean isUseSharedSqlSessionFactory)

isUseSharedSqlSessionFactory

public boolean isUseSharedSqlSessionFactory()

getDisableStrictCallActivityValidation

public boolean getDisableStrictCallActivityValidation()

setDisableStrictCallActivityValidation

public void setDisableStrictCallActivityValidation(boolean disableStrictCallActivityValidation)

getHistoryCleanupBatchWindowStartTime

public String getHistoryCleanupBatchWindowStartTime()

setHistoryCleanupBatchWindowStartTime

public void setHistoryCleanupBatchWindowStartTime(String historyCleanupBatchWindowStartTime)

getHistoryCleanupBatchWindowEndTime

public String getHistoryCleanupBatchWindowEndTime()

setHistoryCleanupBatchWindowEndTime

public void setHistoryCleanupBatchWindowEndTime(String historyCleanupBatchWindowEndTime)

getHistoryCleanupBatchWindowStartTimeAsDate

public Date getHistoryCleanupBatchWindowStartTimeAsDate()

setHistoryCleanupBatchWindowStartTimeAsDate

public void setHistoryCleanupBatchWindowStartTimeAsDate(Date historyCleanupBatchWindowStartTimeAsDate)

setHistoryCleanupBatchWindowEndTimeAsDate

public void setHistoryCleanupBatchWindowEndTimeAsDate(Date historyCleanupBatchWindowEndTimeAsDate)

getHistoryCleanupBatchWindowEndTimeAsDate

public Date getHistoryCleanupBatchWindowEndTimeAsDate()

getHistoryCleanupBatchSize

public int getHistoryCleanupBatchSize()

setHistoryCleanupBatchSize

public void setHistoryCleanupBatchSize(int historyCleanupBatchSize)

getHistoryCleanupBatchThreshold

public int getHistoryCleanupBatchThreshold()

setHistoryCleanupBatchThreshold

public void setHistoryCleanupBatchThreshold(int historyCleanupBatchThreshold)

getFailedJobListenerMaxRetries

public int getFailedJobListenerMaxRetries()

setFailedJobListenerMaxRetries

public void setFailedJobListenerMaxRetries(int failedJobListenerMaxRetries)


Copyright © 2017 camunda services GmbH. All rights reserved.