org.camunda.bpm.engine.spring
Class SpringProcessEngineConfiguration

java.lang.Object
  extended by org.camunda.bpm.engine.ProcessEngineConfiguration
      extended by org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
          extended by org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration

public class SpringProcessEngineConfiguration
extends ProcessEngineConfigurationImpl

Author:
Tom Baeyens, David Syer, Joram Barrez, Daniel Meyer

Field Summary
protected  String deploymentName
           
protected  org.springframework.core.io.Resource[] deploymentResources
           
protected  String deploymentTenantId
           
protected  org.springframework.transaction.PlatformTransactionManager transactionManager
           
 
Fields inherited from class org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
actualCommandExecutor, artifactFactory, authorizationService, autoStoreScriptVariables, batchHandlers, batchJobPriority, batchJobsPerSeed, batchPollTime, beans, bpmnParseFactory, businessCalendarManager, cacheCapacity, cachedSqlSessionFactory, cacheFactory, caseService, cmmnElementHandlerRegistry, cmmnEnabled, cmmnHistoryEventProducer, cmmnTransformFactory, commandCheckers, commandContextFactory, commandExecutorSchemaOperations, commandExecutorTxRequired, commandExecutorTxRequiresNew, commandInterceptorsTxRequired, commandInterceptorsTxRequiresNew, correlationHandler, customBatchJobHandlers, customEventHandlers, customFormEngines, customFormFieldValidators, customFormTypes, customHistoryLevels, customIncidentHandlers, customJobHandlers, customPostCmmnTransformListeners, customPostCommandInterceptorsTxRequired, customPostCommandInterceptorsTxRequiresNew, customPostDeployers, customPostMigratingActivityInstanceValidators, customPostMigrationActivityValidators, customPostMigrationInstructionValidators, customPostVariableSerializers, customPreCmmnTransformListeners, customPreCommandInterceptorsTxRequired, customPreCommandInterceptorsTxRequiresNew, customPreDeployers, customPreMigratingActivityInstanceValidators, customPreMigrationActivityValidators, customPreMigrationInstructionValidators, customPreVariableSerializers, customRejectedJobsHandler, customSessionFactories, databaseSchema, databaseTablePrefix, databaseTypeMappings, DB_SCHEMA_UPDATE_CREATE, DB_SCHEMA_UPDATE_DROP_CREATE, dbEntityCacheKeyMapping, dbMetricsReporter, dbSqlSessionFactory, decisionService, DEFAULT_MYBATIS_MAPPING_FILE, DEFAULT_WS_SYNC_FACTORY, defaultCharset, defaultCharsetName, defaultSerializationFormat, defaultUserPermissionForTask, delegateInterceptor, deployers, deploymentCache, dmnEnabled, dmnEngine, dmnEngineConfiguration, dmnHistoryEventProducer, enableExpressionsInAdhocQueries, enableExpressionsInStoredQueries, enableFetchProcessDefinitionDescription, enableFetchScriptEngineFromProcessApplication, enableGracefulDegradationOnContextSwitchFailure, enableScriptCompilation, enableScriptEngineCaching, eventHandlers, expressionManager, externalTaskPriorityProvider, externalTaskService, failedJobCommandFactory, fallbackSerializerFactory, filterService, forceCloseMybatisConnectionPool, formEngines, formService, formTypes, formValidators, historyEventHandler, historyEventProducer, historyLevel, HISTORYLEVEL_ACTIVITY, HISTORYLEVEL_AUDIT, HISTORYLEVEL_FULL, HISTORYLEVEL_NONE, historyLevels, historyService, identityProviderSessionFactory, identityService, idGenerator, idGeneratorDataSource, idGeneratorDataSourceJndiName, incidentHandlers, invocationsPerBatchJob, isBpmnStacktraceVerbose, isCreateDiagramOnDeploy, isDbEntityCacheReuseEnabled, isDbHistoryUsed, isDbIdentityUsed, isDbMetricsReporterActivate, isDeploymentLockUsed, isExecutionTreePrefetchEnabled, isInvokeCustomVariableListeners, isMetricsEnabled, isUseSharedSqlSessionFactory, jobExecutor, jobHandlers, jobPriorityProvider, LOG, managementService, MARIA_DB_PRODUCT_NAME, metricsRegistry, metricsReporterIdProvider, migratingActivityInstanceValidators, migratingCompensationInstanceValidators, migratingTransitionInstanceValidators, migrationActivityMatcher, migrationInstructionGenerator, migrationInstructionValidators, MY_SQL_PRODUCT_NAME, passwordEncryptor, postParseListeners, preParseListeners, processApplicationManager, processEngine, processEnginePlugins, registeredDeployments, repositoryService, resolverFactories, resourceAuthorizationProvider, restrictUserOperationLogToAuthenticatedUsers, runtimeService, scriptEnvResolvers, scriptFactory, scriptingEngines, scriptingEnvironment, sessionFactories, sqlSessionFactory, taskService, tenantIdProvider, transactionContextFactory, transactionFactory, variableSerializers, 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
SpringProcessEngineConfiguration()
           
 
Method Summary
protected  void autoDeployResources(ProcessEngine processEngine)
           
 ProcessEngine buildProcessEngine()
           
protected  Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
           
protected  Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
           
 String getDeploymentName()
           
 org.springframework.core.io.Resource[] getDeploymentResources()
           
 String getDeploymentTenantId()
           
 org.springframework.transaction.PlatformTransactionManager getTransactionManager()
           
protected  void initJpa()
           
protected  void initTransactionContextFactory()
           
 ProcessEngineConfigurationImpl setDataSource(DataSource dataSource)
           
 void setDeploymentName(String deploymentName)
           
 void setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources)
           
 void setDeploymentTenantId(String deploymentTenantId)
           
 void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
addSessionFactory, checkForMariaDb, close, ensurePrefixAndSchemaFitToegether, getArtifactFactory, getAuthorizationService, getBatchHandlers, getBatchJobPriority, getBatchJobsPerSeed, getBatchPollTime, getBeans, getBpmnDeployer, getBusinessCalendarManager, getCaseService, getCmmnDeployer, getCmmnHistoryEventProducer, getCommandCheckers, getCommandContextFactory, getCommandExecutorSchemaOperations, getCommandExecutorTxRequired, getCommandExecutorTxRequiresNew, getCommandInterceptorsTxRequired, getCommandInterceptorsTxRequiresNew, getCorrelationHandler, getCustomBatchJobHandlers, getCustomEventHandlers, getCustomFormEngines, getCustomFormFieldValidators, getCustomFormTypes, getCustomHistoryLevels, getCustomIncidentHandlers, getCustomJobHandlers, getCustomPostBPMNParseListeners, getCustomPostCmmnTransformListeners, getCustomPostCommandInterceptorsTxRequired, getCustomPostCommandInterceptorsTxRequiresNew, getCustomPostDeployers, getCustomPostMigratingActivityInstanceValidators, getCustomPostMigrationActivityValidators, getCustomPostMigrationInstructionValidators, getCustomPostVariableSerializers, getCustomPreBPMNParseListeners, getCustomPreCmmnTransformListeners, getCustomPreCommandInterceptorsTxRequired, getCustomPreCommandInterceptorsTxRequiresNew, getCustomPreDeployers, getCustomPreMigratingActivityInstanceValidators, getCustomPreMigrationActivityValidators, getCustomPreMigrationInstructionValidators, getCustomPreVariableSerializers, getCustomRejectedJobsHandler, getCustomSessionFactories, getDatabaseSchema, getDatabaseTablePrefix, getDbEntityCacheKeyMapping, getDbMetricsReporter, getDbSqlSessionFactory, getDecisionDefinitionDeployer, getDecisionRequirementsDefinitionDeployer, getDecisionService, getDefaultBPMNParseListeners, getDefaultCharset, getDefaultCmmnTransformListeners, getDefaultDatabaseTypeMappings, getDefaultDeployers, getDefaultHistoryLevel, getDefaultMigratingActivityInstanceValidators, getDefaultMigratingTransitionInstanceValidators, getDefaultMigrationActivityValidators, getDefaultMigrationInstructionValidators, getDefaultSerializationFormat, getDefaultUserPermissionForTask, getDelegateInterceptor, getDeployers, getDeploymentCache, getDmnEngine, getDmnEngineConfiguration, getDmnHistoryEventProducer, getEnableFetchProcessDefinitionDescription, getEnvScriptResolvers, getEventHandler, getEventHandlers, getExpressionManager, getExternalTaskPriorityProvider, getExternalTaskService, getFailedJobCommandFactory, getFallbackSerializerFactory, getFilterService, getFormEngines, getFormService, getFormTypes, getFormValidators, getHistoryEventHandler, getHistoryEventProducer, getHistoryLevel, getHistoryLevels, getHistoryService, getIdentityProviderSessionFactory, getIdentityService, getIdGenerator, getIdGeneratorDataSource, getIdGeneratorDataSourceJndiName, getIncidentHandler, getIncidentHandlers, getInvocationsPerBatchJob, getJobExecutor, getJobHandlers, getJobPriorityProvider, getManagementService, getMetricsRegistry, getMetricsReporterIdProvider, getMigratingActivityInstanceValidators, getMigratingCompensationInstanceValidators, getMigratingTransitionInstanceValidators, getMigrationActivityMatcher, getMigrationInstructionGenerator, getMigrationInstructionValidators, getMyBatisXmlConfigurationSteam, getPasswordEncryptor, getPostParseListeners, getPreParseListeners, getProcessApplicationManager, getProcessEngine, getProcessEngineName, getProcessEnginePlugins, getRegisteredDeployments, getRepositoryService, getResolverFactories, getResourceAuthorizationProvider, getRuntimeService, getScriptFactory, getScriptingEngines, getScriptingEnvironment, getSessionFactories, getSqlSessionFactory, getTaskService, getTenantIdProvider, getTransactionContextFactory, getTransactionFactory, getVariableSerializers, getWsSyncFactoryClassName, init, initActualCommandExecutor, initArtifactFactory, initBatchHandlers, initBeans, initBusinessCalendarManager, initCacheFactory, initCmmnHistoryEventProducer, initCommandCheckers, initCommandContextFactory, initCommandExecutorDbSchemaOperations, initCommandExecutors, initCommandExecutorTxRequired, initCommandExecutorTxRequiresNew, initCommandInterceptorsTxRequired, initCommandInterceptorsTxRequiresNew, initCorrelationHandler, initDatabaseType, initDataSource, initDefaultCharset, initDefaultMetrics, initDefaultUserPermissionForTask, initDelegateInterceptor, initDeployers, initDeploymentRegistration, initDmnEngine, initDmnHistoryEventProducer, initEventHandlers, initExpressionManager, initExternalTaskPriorityProvider, initFailedJobCommandFactory, initFormEngines, initFormFieldValidators, initFormTypes, initHistoryEventHandler, initHistoryEventProducer, initHistoryLevel, initIdentityProviderSessionFactory, initIdGenerator, initIncidentHandlers, initInterceptorChain, initJobExecutor, initJobProvider, initMetrics, initMigratingActivityInstanceValidators, initMigratingCompensationInstanceValidators, initMigratingTransitionInstanceValidators, initMigration, initMigrationActivityMatcher, initMigrationInstructionGenerator, initMigrationInstructionValidators, initPasswordDigest, initPersistenceProviders, initProcessApplicationManager, initResourceAuthorizationProvider, initScripting, initSerialization, initService, initServices, initSessionFactories, initSqlSessionFactory, initSqlSessionFactoryProperties, initTransactionFactory, initValueTypeResolver, invokePostInit, invokePostProcessEngineBuild, invokePreInit, isAutoStoreScriptVariables, isBpmnStacktraceVerbose, isCmmnEnabled, isCreateDiagramOnDeploy, isDbEntityCacheReuseEnabled, isDbHistoryUsed, isDbIdentityUsed, isDbMetricsReporterActivate, isDeploymentLockUsed, isDmnEnabled, isEnableExpressionsInAdhocQueries, isEnableExpressionsInStoredQueries, isEnableFetchScriptEngineFromProcessApplication, isEnableGracefulDegradationOnContextSwitchFailure, isEnableScriptCompilation, isEnableScriptEngineCaching, isExecutionTreePrefetchEnabled, isForceCloseMybatisConnectionPool, isInvokeCustomVariableListeners, isMetricsEnabled, isRestrictUserOperationLogToAuthenticatedUsers, isUseSharedSqlSessionFactory, setArtifactFactory, setAutoStoreScriptVariables, setBatchHandlers, setBatchJobPriority, setBatchJobsPerSeed, setBatchPollTime, setBeans, setBpmnStacktraceVerbose, setBusinessCalendarManager, setCacheCapacity, setCacheFactory, setCaseService, setClassLoader, setCmmnEnabled, setCmmnHistoryEventProducer, setCommandCheckers, setCommandContextFactory, setCommandExecutorSchemaOperations, setCommandExecutorTxRequired, setCommandExecutorTxRequiresNew, setCommandInterceptorsTxRequired, setCommandInterceptorsTxRequiresNew, setCorrelationHandler, setCreateDiagramOnDeploy, setCustomBatchJobHandlers, setCustomEventHandlers, setCustomFormEngines, setCustomFormFieldValidators, setCustomFormTypes, setCustomHistoryLevels, setCustomIncidentHandlers, setCustomJobHandlers, setCustomPostBPMNParseListeners, setCustomPostCmmnTransformListeners, setCustomPostCommandInterceptorsTxRequired, setCustomPostCommandInterceptorsTxRequiresNew, setCustomPostDeployers, setCustomPostMigratingActivityInstanceValidators, setCustomPostMigrationActivityValidators, setCustomPostMigrationInstructionValidators, setCustomPostVariableSerializers, setCustomPreBPMNParseListeners, setCustomPreCmmnTransformListeners, setCustomPreCommandInterceptorsTxRequired, setCustomPreCommandInterceptorsTxRequiresNew, setCustomPreDeployers, setCustomPreMigratingActivityInstanceValidators, setCustomPreMigrationActivityValidators, setCustomPreMigrationInstructionValidators, setCustomPreVariableSerializers, setCustomRejectedJobsHandler, setCustomSessionFactories, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDbEntityCacheKeyMapping, setDbEntityCacheReuseEnabled, setDbHistoryUsed, setDbIdentityUsed, setDbMetricsReporter, setDbMetricsReporterActivate, setDbSqlSessionFactory, setDecisionService, setDefaultCharset, setDefaultCharsetName, setDefaultSerializationFormat, setDefaultUserPermissionForTask, setDelegateInterceptor, setDeployers, setDeploymentCache, setDeploymentLockUsed, setDmnEnabled, setDmnEngine, setDmnEngineConfiguration, setDmnHistoryEventProducer, setEnableExpressionsInAdhocQueries, setEnableExpressionsInStoredQueries, setEnableFetchProcessDefinitionDescription, setEnableFetchScriptEngineFromProcessApplication, setEnableGracefulDegradationOnContextSwitchFailure, setEnableScriptCompilation, setEnableScriptEngineCaching, setEnvScriptResolvers, setEventHandlers, setExecutionTreePrefetchEnabled, setExpressionManager, setExternalTaskPriorityProvider, setExternalTaskService, setFailedJobCommandFactory, setFallbackSerializerFactory, setFilterService, setForceCloseMybatisConnectionPool, setFormEngines, setFormService, setFormTypes, setFormValidators, setHistory, setHistoryEventHandler, setHistoryEventProducer, setHistoryLevel, setHistoryService, setIdBlockSize, setIdentityProviderSessionFactory, setIdentityService, setIdGenerator, setIdGeneratorDataSource, setIdGeneratorDataSourceJndiName, setIncidentHandlers, setInvocationsPerBatchJob, setInvokeCustomVariableListeners, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobExecutor, setJobExecutorActivate, setJobHandlers, setJobPriorityProvider, setJpaCloseEntityManager, setJpaEntityManagerFactory, setJpaHandleTransaction, setMailServerDefaultFrom, setMailServerHost, setMailServerPassword, setMailServerPort, setMailServerUsername, setMailServerUseTLS, setManagementService, setMetricsEnabled, setMetricsRegistry, setMetricsReporterIdProvider, setMigratingActivityInstanceValidators, setMigrationActivityMatcher, setMigrationInstructionGenerator, setMigrationInstructionValidators, setPasswordEncryptor, setPostParseListeners, setPreParseListeners, setProcessApplicationManager, setProcessEngineName, setProcessEnginePlugins, setRegisteredDeployments, setRepositoryService, setResolverFactories, setResourceAuthorizationProvider, setRestrictUserOperationLogToAuthenticatedUsers, setRuntimeService, setScriptFactory, setScriptingEngines, setScriptingEnvironment, setSessionFactories, setSqlSessionFactory, setTaskService, setTenantIdProvider, setTransactionContextFactory, setTransactionFactory, setTransactionsExternallyManaged, setUseSharedSqlSessionFactory, setVariableTypes, setWsSyncFactoryClassName
 
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

transactionManager

protected org.springframework.transaction.PlatformTransactionManager transactionManager

deploymentName

protected String deploymentName

deploymentResources

protected org.springframework.core.io.Resource[] deploymentResources

deploymentTenantId

protected String deploymentTenantId
Constructor Detail

SpringProcessEngineConfiguration

public SpringProcessEngineConfiguration()
Method Detail

buildProcessEngine

public ProcessEngine buildProcessEngine()
Overrides:
buildProcessEngine in class ProcessEngineConfigurationImpl

getDefaultCommandInterceptorsTxRequired

protected Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
Specified by:
getDefaultCommandInterceptorsTxRequired in class ProcessEngineConfigurationImpl

getDefaultCommandInterceptorsTxRequiresNew

protected Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
Specified by:
getDefaultCommandInterceptorsTxRequiresNew in class ProcessEngineConfigurationImpl

initTransactionContextFactory

protected void initTransactionContextFactory()
Overrides:
initTransactionContextFactory in class ProcessEngineConfigurationImpl

initJpa

protected void initJpa()
Overrides:
initJpa in class ProcessEngineConfigurationImpl

autoDeployResources

protected void autoDeployResources(ProcessEngine processEngine)

setDataSource

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

getTransactionManager

public org.springframework.transaction.PlatformTransactionManager getTransactionManager()

setTransactionManager

public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)

getDeploymentName

public String getDeploymentName()

setDeploymentName

public void setDeploymentName(String deploymentName)

getDeploymentResources

public org.springframework.core.io.Resource[] getDeploymentResources()

setDeploymentResources

public void setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources)

getDeploymentTenantId

public String getDeploymentTenantId()

setDeploymentTenantId

public void setDeploymentTenantId(String deploymentTenantId)


Copyright © 2016 camunda services GmbH. All rights reserved.