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

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.impl.cfg.JtaProcessEngineConfiguration

public class JtaProcessEngineConfiguration
extends ProcessEngineConfigurationImpl

Author:
Tom Baeyens

Field Summary
protected  CommandContextFactory dbSchemaOperationsCommandContextFactory
          CommandContextFactory to be used for DbSchemaOperations
protected  TransactionManager transactionManager
           
protected  String transactionManagerJndiName
           
 
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, 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, delegateInterceptor, deployers, deploymentCache, dmnEnabled, dmnEngine, dmnEngineConfiguration, dmnHistoryEventProducer, enableExpressionsInAdhocQueries, enableExpressionsInStoredQueries, enableFetchScriptEngineFromProcessApplication, enableGracefulDegradationOnContextSwitchFailure, enableScriptCompilation, enableScriptEngineCaching, eventHandlers, expressionManager, externalTaskService, failedJobCommandFactory, 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, isBpmnStacktraceVerbose, isCreateDiagramOnDeploy, isDbEntityCacheReuseEnabled, isDbHistoryUsed, isDbIdentityUsed, isDbMetricsReporterActivate, isDeploymentLockUsed, isExecutionTreePrefetchEnabled, isInvokeCustomVariableListeners, isMetricsEnabled, jobExecutor, jobHandlers, jobPriorityProvider, managementService, metricsRegistry, metricsReporterIdProvider, passwordEncryptor, postParseListeners, preParseListeners, processApplicationManager, processEngine, processEnginePlugins, registeredDeployments, repositoryService, resolverFactories, resourceAuthorizationProvider, restrictUserOperationLogToAuthenticatedUsers, 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_AUTO, HISTORY_DEFAULT, HISTORY_FULL, HISTORY_NONE, HISTORY_VARIABLE, idBlockSize, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcStatementTimeout, jdbcUrl, jdbcUsername, jobExecutorAcquireByDueDate, jobExecutorAcquireByPriority, jobExecutorActivate, jobExecutorDeploymentAware, jobExecutorPreferTimerJobs, jpaCloseEntityManager, jpaEntityManagerFactory, jpaHandleTransaction, jpaPersistenceUnitName, mailServerDefaultFrom, mailServerHost, mailServerPassword, mailServerPort, mailServerUsername, processEngineName, producePrioritizedJobs, transactionsExternallyManaged, useTLS, valueTypeResolver
 
Constructor Summary
JtaProcessEngineConfiguration()
           
 
Method Summary
 CommandContextFactory getDbSchemaOperationsCommandContextFactory()
           
protected  Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
           
protected  Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
           
 TransactionManager getTransactionManager()
           
 String getTransactionManagerJndiName()
           
protected  void init()
           
protected  void initCommandExecutorDbSchemaOperations()
          provide custom command executor that uses NON-JTA transactions
protected  void initDbSchemaOperationsCommandContextFactory()
           
protected  void initTransactionContextFactory()
           
protected  void initTransactionManager()
           
 void setDbSchemaOperationsCommandContextFactory(CommandContextFactory dbSchemaOperationsCommandContextFactory)
           
 void setTransactionManager(TransactionManager transactionManager)
           
 void setTransactionManagerJndiName(String transactionManagerJndiName)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
addSessionFactory, buildProcessEngine, 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, getCustomSessionFactories, getDatabaseSchema, getDatabaseTablePrefix, getDbEntityCacheKeyMapping, getDbMetricsReporter, getDbSqlSessionFactory, getDecisionService, getDefaultBPMNParseListeners, getDefaultCharset, getDefaultCmmnTransformListeners, getDefaultDatabaseTypeMappings, getDefaultDeployers, getDefaultHistoryLevel, getDefaultSerializationFormat, getDelegateInterceptor, getDeployers, getDeploymentCache, getDmnDeployer, getDmnEngine, getDmnEngineConfiguration, getDmnHistoryEventProducer, getEnvScriptResolvers, getEventHandler, getEventHandlers, getExpressionManager, getExternalTaskService, getFailedJobCommandFactory, getFilterService, getFormEngines, getFormService, getFormTypes, getFormValidators, getHistoryEventHandler, getHistoryEventProducer, getHistoryLevel, getHistoryLevels, getHistoryService, getIdentityProviderSessionFactory, getIdentityService, getIdGenerator, getIdGeneratorDataSource, getIdGeneratorDataSourceJndiName, getIncidentHandler, getIncidentHandlers, getJobExecutor, getJobHandlers, getJobPriorityProvider, getManagementService, getMetricsRegistry, getMetricsReporterIdProvider, getMyBatisXmlConfigurationSteam, getPasswordEncryptor, getPostParseListeners, getPreParseListeners, getProcessApplicationManager, getProcessEngine, getProcessEngineName, getProcessEnginePlugins, getRegisteredDeployments, getRepositoryService, getResolverFactories, getResourceAuthorizationProvider, getRuntimeService, getScriptFactory, getScriptingEngines, getScriptingEnvironment, getSessionFactories, getSqlSessionFactory, getTaskService, getTransactionContextFactory, getTransactionFactory, getVariableSerializers, getWsSyncFactoryClassName, initActualCommandExecutor, initArtifactFactory, initBeans, initBusinessCalendarManager, initCmmnHistoryEventProducer, initCommandContextFactory, initCommandExecutors, initCommandExecutorTxRequired, initCommandExecutorTxRequiresNew, initCommandInterceptorsTxRequired, initCommandInterceptorsTxRequiresNew, initCorrelationHandler, initDatabaseType, initDataSource, initDefaultCharset, initDefaultMetrics, initDelegateInterceptor, initDeployers, initDeploymentRegistration, initDmnEngine, initDmnHistoryEventProducer, initEventHandlers, initExpressionManager, initFailedJobCommandFactory, initFormEngines, initFormFieldValidators, initFormTypes, initHistoryEventHandler, initHistoryEventProducer, initHistoryLevel, initIdentityProviderSessionFactory, initIdGenerator, initIncidentHandlers, initInterceptorChain, initJobExecutor, initJobProvider, initJpa, initMetrics, initPasswordDigest, initPersistenceProviders, initProcessApplicationManager, initResourceAuthorizationProvider, initScripting, initSerialization, initService, initServices, initSessionFactories, initSqlSessionFactory, 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, setArtifactFactory, setAutoStoreScriptVariables, setBeans, setBpmnStacktraceVerbose, 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, setCustomSessionFactories, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDataSource, setDbEntityCacheKeyMapping, setDbEntityCacheReuseEnabled, setDbHistoryUsed, setDbIdentityUsed, setDbMetricsReporter, setDbMetricsReporterActivate, setDbSqlSessionFactory, setDecisionService, setDefaultCharset, setDefaultCharsetName, setDefaultSerializationFormat, setDelegateInterceptor, setDeployers, setDeploymentCache, setDeploymentLockUsed, setDmnEnabled, setDmnEngine, setDmnEngineConfiguration, setDmnHistoryEventProducer, setEnableExpressionsInAdhocQueries, setEnableExpressionsInStoredQueries, setEnableFetchScriptEngineFromProcessApplication, setEnableGracefulDegradationOnContextSwitchFailure, setEnableScriptCompilation, setEnableScriptEngineCaching, setEnvScriptResolvers, setEventHandlers, setExecutionTreePrefetchEnabled, setExpressionManager, setExternalTaskService, setFailedJobCommandFactory, setFilterService, setForceCloseMybatisConnectionPool, 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, setJobPriorityProvider, setJpaCloseEntityManager, setJpaEntityManagerFactory, setJpaHandleTransaction, setMailServerDefaultFrom, setMailServerHost, setMailServerPassword, setMailServerPort, setMailServerUsername, setMailServerUseTLS, setManagementService, setMetricsEnabled, setMetricsRegistry, setMetricsReporterIdProvider, setPasswordEncryptor, setPostParseListeners, setPreParseListeners, setProcessApplicationManager, setProcessEngineName, setProcessEnginePlugins, setRegisteredDeployments, setRepositoryService, setResolverFactories, setResourceAuthorizationProvider, setRestrictUserOperationLogToAuthenticatedUsers, 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, getJdbcStatementTimeout, getJdbcUrl, getJdbcUsername, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServerUsername, getMailServerUseTLS, getValueTypeResolver, isAuthorizationEnabled, isAuthorizationEnabledForCustomCode, isCreateIncidentOnFailedJobEnabled, isHintJobExecutor, isJdbcPingEnabled, isJobExecutorAcquireByDueDate, isJobExecutorAcquireByPriority, isJobExecutorActivate, isJobExecutorDeploymentAware, isJobExecutorPreferTimerJobs, isJpaCloseEntityManager, isJpaHandleTransaction, isProducePrioritizedJobs, isTransactionsExternallyManaged, setAuthorizationEnabled, setAuthorizationEnabledForCustomCode, setCreateIncidentOnFailedJobEnabled, setDataSourceJndiName, setDefaultNumberOfRetries, setHintJobExecutor, setJdbcStatementTimeout, setJobExecutorAcquireByDueDate, setJobExecutorAcquireByPriority, setJobExecutorDeploymentAware, setJobExecutorPreferTimerJobs, setJpaPersistenceUnitName, setProducePrioritizedJobs, setValueTypeResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionManager

protected TransactionManager transactionManager

transactionManagerJndiName

protected String transactionManagerJndiName

dbSchemaOperationsCommandContextFactory

protected CommandContextFactory dbSchemaOperationsCommandContextFactory
CommandContextFactory to be used for DbSchemaOperations

Constructor Detail

JtaProcessEngineConfiguration

public JtaProcessEngineConfiguration()
Method Detail

init

protected void init()
Overrides:
init 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

initCommandExecutorDbSchemaOperations

protected void initCommandExecutorDbSchemaOperations()
provide custom command executor that uses NON-JTA transactions

Overrides:
initCommandExecutorDbSchemaOperations in class ProcessEngineConfigurationImpl

initDbSchemaOperationsCommandContextFactory

protected void initDbSchemaOperationsCommandContextFactory()

initTransactionManager

protected void initTransactionManager()

initTransactionContextFactory

protected void initTransactionContextFactory()
Overrides:
initTransactionContextFactory in class ProcessEngineConfigurationImpl

getTransactionManager

public TransactionManager getTransactionManager()

setTransactionManager

public void setTransactionManager(TransactionManager transactionManager)

getTransactionManagerJndiName

public String getTransactionManagerJndiName()

setTransactionManagerJndiName

public void setTransactionManagerJndiName(String transactionManagerJndiName)

getDbSchemaOperationsCommandContextFactory

public CommandContextFactory getDbSchemaOperationsCommandContextFactory()

setDbSchemaOperationsCommandContextFactory

public void setDbSchemaOperationsCommandContextFactory(CommandContextFactory dbSchemaOperationsCommandContextFactory)


Copyright © 2015 camunda services GmbH. All rights reserved.