public class JtaProcessEngineConfiguration extends ProcessEngineConfigurationImpl
Modifier and Type | Field and Description |
---|---|
protected CommandContextFactory |
dbSchemaOperationsCommandContextFactory
CommandContextFactory to be used for DbSchemaOperations |
protected TransactionManager |
transactionManager |
protected String |
transactionManagerJndiName |
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_FAILED_JOB_LISTENER_MAX_RETRIES, DEFAULT_MYBATIS_MAPPING_FILE, DEFAULT_WS_SYNC_FACTORY, defaultCharset, defaultCharsetName, defaultSerializationFormat, defaultUserPermissionForTask, delegateInterceptor, deployers, deploymentCache, disableStrictCallActivityValidation, 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, javaSerializationFormatEnabled, jobExecutor, jobHandlers, jobPriorityProvider, 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
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 and Description |
---|
JtaProcessEngineConfiguration() |
Modifier and Type | Method and Description |
---|---|
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) |
addSessionFactory, buildProcessEngine, 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, getDisableStrictCallActivityValidation, getDmnEngine, getDmnEngineConfiguration, getDmnHistoryEventProducer, getEnableFetchProcessDefinitionDescription, getEnvScriptResolvers, getEventHandler, getEventHandlers, getExpressionManager, getExternalTaskPriorityProvider, getExternalTaskService, getFailedJobCommandFactory, getFailedJobListenerMaxRetries, 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, initActualCommandExecutor, initArtifactFactory, initBatchHandlers, initBeans, initBusinessCalendarManager, initCacheFactory, initCmmnHistoryEventProducer, initCommandCheckers, initCommandContextFactory, 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, initJpa, 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, isJavaSerializationFormatEnabled, 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, setDataSource, setDbEntityCacheKeyMapping, setDbEntityCacheReuseEnabled, setDbHistoryUsed, setDbIdentityUsed, setDbMetricsReporter, setDbMetricsReporterActivate, setDbSqlSessionFactory, setDecisionService, setDefaultCharset, setDefaultCharsetName, setDefaultSerializationFormat, setDefaultUserPermissionForTask, setDelegateInterceptor, setDeployers, setDeploymentCache, setDeploymentLockUsed, setDisableStrictCallActivityValidation, setDmnEnabled, setDmnEngine, setDmnEngineConfiguration, setDmnHistoryEventProducer, setEnableExpressionsInAdhocQueries, setEnableExpressionsInStoredQueries, setEnableFetchProcessDefinitionDescription, setEnableFetchScriptEngineFromProcessApplication, setEnableGracefulDegradationOnContextSwitchFailure, setEnableScriptCompilation, setEnableScriptEngineCaching, setEnvScriptResolvers, setEventHandlers, setExecutionTreePrefetchEnabled, setExpressionManager, setExternalTaskPriorityProvider, setExternalTaskService, setFailedJobCommandFactory, setFailedJobListenerMaxRetries, setFallbackSerializerFactory, setFilterService, setForceCloseMybatisConnectionPool, setFormEngines, setFormService, setFormTypes, setFormValidators, setHistory, setHistoryEventHandler, setHistoryEventProducer, setHistoryLevel, setHistoryService, setIdBlockSize, setIdentityProviderSessionFactory, setIdentityService, setIdGenerator, setIdGeneratorDataSource, setIdGeneratorDataSourceJndiName, setIncidentHandlers, setInvocationsPerBatchJob, setInvokeCustomVariableListeners, setJavaSerializationFormatEnabled, 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
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
protected TransactionManager transactionManager
protected String transactionManagerJndiName
protected CommandContextFactory dbSchemaOperationsCommandContextFactory
CommandContextFactory
to be used for DbSchemaOperationsprotected void init()
init
in class ProcessEngineConfigurationImpl
protected Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
getDefaultCommandInterceptorsTxRequired
in class ProcessEngineConfigurationImpl
protected Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
getDefaultCommandInterceptorsTxRequiresNew
in class ProcessEngineConfigurationImpl
protected void initCommandExecutorDbSchemaOperations()
initCommandExecutorDbSchemaOperations
in class ProcessEngineConfigurationImpl
protected void initDbSchemaOperationsCommandContextFactory()
protected void initTransactionManager()
protected void initTransactionContextFactory()
initTransactionContextFactory
in class ProcessEngineConfigurationImpl
public TransactionManager getTransactionManager()
public void setTransactionManager(TransactionManager transactionManager)
public String getTransactionManagerJndiName()
public void setTransactionManagerJndiName(String transactionManagerJndiName)
public CommandContextFactory getDbSchemaOperationsCommandContextFactory()
public void setDbSchemaOperationsCommandContextFactory(CommandContextFactory dbSchemaOperationsCommandContextFactory)
Copyright © 2018. All rights reserved.