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  org.springframework.transaction.PlatformTransactionManager transactionManager
           
 
Fields inherited from class org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
actualCommandExecutor, artifactFactory, authorizationService, autoStoreScriptVariables, beans, bpmnParseFactory, businessCalendarManager, caseService, cmmnElementHandlerRegistry, cmmnEnabled, cmmnHistoryEventProducer, cmmnTransformFactory, commandContextFactory, commandExecutorSchemaOperations, commandExecutorTxRequired, commandExecutorTxRequiresNew, commandInterceptorsTxRequired, commandInterceptorsTxRequiresNew, correlationHandler, customEventHandlers, customFormEngines, customFormFieldValidators, customFormTypes, customHistoryLevels, customIncidentHandlers, customJobHandlers, customPostCmmnTransformListeners, customPostCommandInterceptorsTxRequired, customPostCommandInterceptorsTxRequiresNew, customPostDeployers, customPostVariableSerializers, customPreCmmnTransformListeners, customPreCommandInterceptorsTxRequired, customPreCommandInterceptorsTxRequiresNew, customPreDeployers, customPreVariableSerializers, customRejectedJobsHandler, customScriptingEngineClasses, customSessionFactories, databaseSchema, databaseTablePrefix, databaseTypeMappings, DB_SCHEMA_UPDATE_CREATE, DB_SCHEMA_UPDATE_DROP_CREATE, dbEntityCacheKeyMapping, dbMetricsReporter, dbSqlSessionFactory, DEFAULT_MYBATIS_MAPPING_FILE, DEFAULT_WS_SYNC_FACTORY, defaultCharset, defaultCharsetName, defaultSerializationFormat, delegateInterceptor, deployers, deploymentCache, enableScriptCompilation, eventHandlers, expressionManager, failedJobCommandFactory, filterService, formEngines, formService, formTypes, formValidators, historyEventHandler, historyEventProducer, historyLevel, HISTORYLEVEL_ACTIVITY, HISTORYLEVEL_AUDIT, HISTORYLEVEL_FULL, HISTORYLEVEL_NONE, historyLevels, historyService, identityProviderSessionFactory, identityService, idGenerator, idGeneratorDataSource, idGeneratorDataSourceJndiName, incidentHandlers, isCreateDiagramOnDeploy, isDbEntityCacheReuseEnabled, isDbHistoryUsed, isDbIdentityUsed, isDbMetricsReporterActivate, isDeploymentLockUsed, isExecutionTreePrefetchEnabled, isInvokeCustomVariableListeners, isMetricsEnabled, jobExecutor, jobHandlers, managementService, metricsRegistry, passwordEncryptor, postParseListeners, preParseListeners, processApplicationManager, processEngine, processEnginePlugins, registeredDeployments, repositoryService, resolverFactories, resourceAuthorizationProvider, runtimeService, scriptEnvResolvers, scriptFactory, scriptingEngines, scriptingEnvironment, sessionFactories, sqlSessionFactory, taskService, transactionContextFactory, transactionFactory, variableSerializers, wsSyncFactoryClassName
 
Fields inherited from class org.camunda.bpm.engine.ProcessEngineConfiguration
authorizationEnabled, authorizationEnabledForCustomCode, classLoader, createIncidentOnFailedJobEnabled, databaseSchemaUpdate, databaseType, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultNumberOfRetries, hintJobExecutor, history, HISTORY_ACTIVITY, HISTORY_AUDIT, HISTORY_FULL, HISTORY_NONE, HISTORY_VARIABLE, idBlockSize, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, jobExecutorAcquireByDueDate, jobExecutorActivate, jobExecutorDeploymentAware, jobExecutorPreferTimerJobs, jpaCloseEntityManager, jpaEntityManagerFactory, jpaHandleTransaction, jpaPersistenceUnitName, mailServerDefaultFrom, mailServerHost, mailServerPassword, mailServerPort, mailServerUsername, processEngineName, 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()
           
 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 setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
addSessionFactory, close, ensurePrefixAndSchemaFitToegether, getArtifactFactory, getAuthorizationService, getBeans, getBpmnDeployer, getBusinessCalendarManager, getCaseService, getCmmnDeployer, getCmmnHistoryEventProducer, getCommandContextFactory, getCommandExecutorSchemaOperations, getCommandExecutorTxRequired, getCommandExecutorTxRequiresNew, getCommandInterceptorsTxRequired, getCommandInterceptorsTxRequiresNew, getCorrelationHandler, getCustomEventHandlers, getCustomFormEngines, getCustomFormFieldValidators, getCustomFormTypes, getCustomHistoryLevels, getCustomIncidentHandlers, getCustomJobHandlers, getCustomPostBPMNParseListeners, getCustomPostCmmnTransformListeners, getCustomPostCommandInterceptorsTxRequired, getCustomPostCommandInterceptorsTxRequiresNew, getCustomPostDeployers, getCustomPostVariableSerializers, getCustomPreBPMNParseListeners, getCustomPreCmmnTransformListeners, getCustomPreCommandInterceptorsTxRequired, getCustomPreCommandInterceptorsTxRequiresNew, getCustomPreDeployers, getCustomPreVariableSerializers, getCustomRejectedJobsHandler, getCustomScriptingEngineClasses, getCustomSessionFactories, getDatabaseSchema, getDatabaseTablePrefix, getDbEntityCacheKeyMapping, getDbMetricsReporter, getDbSqlSessionFactory, getDefaultBPMNParseListeners, getDefaultCharset, getDefaultCmmnTransformListeners, getDefaultDatabaseTypeMappings, getDefaultDeployers, getDefaultSerializationFormat, getDelegateInterceptor, getDeployers, getDeploymentCache, getEnvScriptResolvers, getEventHandler, getEventHandlers, getExpressionManager, getFailedJobCommandFactory, getFilterService, getFormEngines, getFormService, getFormTypes, getFormValidators, getHistoryEventHandler, getHistoryEventProducer, getHistoryLevel, getHistoryService, getIdentityProviderSessionFactory, getIdentityService, getIdGenerator, getIdGeneratorDataSource, getIdGeneratorDataSourceJndiName, getIncidentHandler, getIncidentHandlers, getJobExecutor, getJobHandlers, getManagementService, getMetricsRegistry, getMyBatisXmlConfigurationSteam, getPasswordEncryptor, getPostParseListeners, getPreParseListeners, getProcessApplicationManager, getProcessEngine, getProcessEngineName, getProcessEnginePlugins, getRegisteredDeployments, getRepositoryService, getResolverFactories, getResourceAuthorizationProvider, getRuntimeService, getScriptFactory, getScriptingEngines, getScriptingEnvironment, getSessionFactories, getSqlSessionFactory, getTaskService, getTransactionContextFactory, getTransactionFactory, getVariableSerializers, getWsSyncFactoryClassName, init, initActualCommandExecutor, initArtifactFactory, initBeans, initBusinessCalendarManager, initCmmnHistoryEventProducer, initCommandContextFactory, initCommandExecutorDbSchemaOperations, initCommandExecutors, initCommandExecutorTxRequired, initCommandExecutorTxRequiresNew, initCommandInterceptorsTxRequired, initCommandInterceptorsTxRequiresNew, initCorrelationHandler, initDatabaseType, initDataSource, initDefaultCharset, initDefaultMetrics, initDelegateInterceptor, initDeployers, initDeploymentRegistration, initEventHandlers, initExpressionManager, initFailedJobCommandFactory, initFormEngines, initFormFieldValidators, initFormTypes, initHistoryEventHandler, initHistoryEventProducer, initHistoryLevel, initIdentityProviderSessionFactory, initIdGenerator, initIncidentHandlers, initInterceptorChain, initJobExecutor, initMetrics, initPasswordDigest, initPersistenceProviders, initProcessApplicationManager, initResourceAuthorizationProvider, initScripting, initSerialization, initService, initServices, initSessionFactories, initSqlSessionFactory, initTransactionFactory, initValueTypeResolver, invokePostInit, invokePostProcessEngineBuild, invokePreInit, isAutoStoreScriptVariables, isCmmnEnabled, isCreateDiagramOnDeploy, isDbEntityCacheReuseEnabled, isDbHistoryUsed, isDbIdentityUsed, isDbMetricsReporterActivate, isDeploymentLockUsed, isEnableScriptCompilation, isExecutionTreePrefetchEnabled, isInvokeCustomVariableListeners, isMetricsEnabled, setArtifactFactory, setAutoStoreScriptVariables, setBeans, setBusinessCalendarManager, setCaseService, setClassLoader, setCmmnEnabled, setCmmnHistoryEventProducer, setCommandContextFactory, setCommandExecutorSchemaOperations, setCommandExecutorTxRequired, setCommandExecutorTxRequiresNew, setCommandInterceptorsTxRequired, setCommandInterceptorsTxRequiresNew, setCorrelationHandler, setCreateDiagramOnDeploy, setCustomEventHandlers, setCustomFormEngines, setCustomFormFieldValidators, setCustomFormTypes, setCustomHistoryLevels, setCustomIncidentHandlers, setCustomJobHandlers, setCustomPostBPMNParseListeners, setCustomPostCmmnTransformListeners, setCustomPostCommandInterceptorsTxRequired, setCustomPostCommandInterceptorsTxRequiresNew, setCustomPostDeployers, setCustomPostVariableSerializers, setCustomPreBPMNParseListeners, setCustomPreCmmnTransformListeners, setCustomPreCommandInterceptorsTxRequired, setCustomPreCommandInterceptorsTxRequiresNew, setCustomPreDeployers, setCustomPreVariableSerializers, setCustomRejectedJobsHandler, setCustomScriptingEngineClasses, setCustomSessionFactories, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDbEntityCacheKeyMapping, setDbEntityCacheReuseEnabled, setDbHistoryUsed, setDbIdentityUsed, setDbMetricsReporter, setDbMetricsReporterActivate, setDbSqlSessionFactory, setDefaultCharset, setDefaultCharsetName, setDefaultSerializationFormat, setDelegateInterceptor, setDeployers, setDeploymentCache, setDeploymentLockUsed, setEnableScriptCompilation, setEnvScriptResolvers, setEventHandlers, setExecutionTreePrefetchEnabled, setExpressionManager, setFailedJobCommandFactory, setFilterService, setFormEngines, setFormService, setFormTypes, setFormValidators, setHistory, setHistoryEventHandler, setHistoryEventProducer, setHistoryLevel, setHistoryService, setIdBlockSize, setIdentityProviderSessionFactory, setIdentityService, setIdGenerator, setIdGeneratorDataSource, setIdGeneratorDataSourceJndiName, setIncidentHandlers, setInvokeCustomVariableListeners, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobExecutor, setJobExecutorActivate, setJobHandlers, setJpaCloseEntityManager, setJpaEntityManagerFactory, setJpaHandleTransaction, setMailServerDefaultFrom, setMailServerHost, setMailServerPassword, setMailServerPort, setMailServerUsername, setMailServerUseTLS, setManagementService, setMetricsEnabled, setMetricsRegistry, setPasswordEncryptor, setPostParseListeners, setPreParseListeners, setProcessApplicationManager, setProcessEngineName, setProcessEnginePlugins, setRegisteredDeployments, setRepositoryService, setResolverFactories, setResourceAuthorizationProvider, setRuntimeService, setScriptFactory, setScriptingEngines, setScriptingEnvironment, setSessionFactories, setSqlSessionFactory, setTaskService, setTransactionContextFactory, setTransactionFactory, setTransactionsExternallyManaged, setVariableTypes, setWsSyncFactoryClassName
 
Methods inherited from class org.camunda.bpm.engine.ProcessEngineConfiguration
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getClassLoader, getDatabaseSchemaUpdate, getDatabaseType, getDataSource, getDataSourceJndiName, getDefaultNumberOfRetries, getHistory, getIdBlockSize, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServerUsername, getMailServerUseTLS, getValueTypeResolver, isAuthorizationEnabled, isAuthorizationEnabledForCustomCode, isCreateIncidentOnFailedJobEnabled, isHintJobExecutor, isJdbcPingEnabled, isJobExecutorAcquireByDueDate, isJobExecutorActivate, isJobExecutorDeploymentAware, isJobExecutorPreferTimerJobs, isJpaCloseEntityManager, isJpaHandleTransaction, isTransactionsExternallyManaged, setAuthorizationEnabled, setAuthorizationEnabledForCustomCode, setCreateIncidentOnFailedJobEnabled, setDataSourceJndiName, setDefaultNumberOfRetries, setHintJobExecutor, setJobExecutorAcquireByDueDate, setJobExecutorDeploymentAware, setJobExecutorPreferTimerJobs, setJpaPersistenceUnitName, 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
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)


Copyright © 2015 camunda services GmbH. All rights reserved.