public class SpringProcessEngineConfiguration extends ProcessEngineConfigurationImpl implements org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected String |
deploymentMode |
protected String |
deploymentName |
protected org.springframework.core.io.Resource[] |
deploymentResources |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected Integer |
transactionSynchronizationAdapterOrder |
activityBehaviorFactory, allConfigurators, asyncExecutorAsyncJobLockTimeInMillis, asyncExecutorCorePoolSize, asyncExecutorDefaultAsyncJobAcquireWaitTime, asyncExecutorDefaultQueueSizeFullWaitTime, asyncExecutorDefaultTimerJobAcquireWaitTime, asyncExecutorExecuteAsyncRunnableFactory, asyncExecutorLockOwner, asyncExecutorLockRetryWaitTimeInMillis, asyncExecutorMaxAsyncJobsDuePerAcquisition, asyncExecutorMaxPoolSize, asyncExecutorMaxTimerJobsPerAcquisition, asyncExecutorSecondsToWaitOnShutdown, asyncExecutorThreadKeepAliveTime, asyncExecutorThreadPoolQueue, asyncExecutorThreadPoolQueueSize, asyncExecutorTimerLockTimeInMillis, batchSizeProcessInstances, batchSizeTasks, beans, bpmnDeployer, bpmnModelCache, bpmnModelCacheLimit, bpmnParseFactory, bpmnParser, businessCalendarManager, commandContextFactory, commandExecutor, commandInterceptors, commandInvoker, configurators, customDefaultBpmnParseHandlers, customEventHandlers, customFormEngines, customFormTypes, customJobHandlers, customMybatisMappers, customMybatisXMLMappers, customPostCommandInterceptors, customPostDeployers, customPostVariableTypes, customPreCommandInterceptors, customPreDeployers, customPreVariableTypes, customRejectedJobsHandler, customScriptingEngineClasses, customSessionFactories, DATABASE_TYPE_DB2, DATABASE_TYPE_H2, DATABASE_TYPE_HSQL, DATABASE_TYPE_MSSQL, DATABASE_TYPE_MYSQL, DATABASE_TYPE_ORACLE, DATABASE_TYPE_POSTGRES, databaseTypeMappings, DB_SCHEMA_UPDATE_CREATE, DB_SCHEMA_UPDATE_DROP_CREATE, dbSqlSessionFactory, DEFAULT_GENERIC_MAX_LENGTH_STRING, DEFAULT_MYBATIS_MAPPING_FILE, DEFAULT_ORACLE_MAX_LENGTH_STRING, DEFAULT_WS_SYNC_FACTORY, defaultCommandConfig, delegateInterceptor, deployers, deploymentManager, dynamicBpmnService, enableConfiguratorServiceLoader, enableDatabaseEventLogging, enableEventDispatcher, enableSafeBpmnXml, eventDispatcher, eventHandlers, eventListeners, expressionManager, failedJobCommandFactory, formEngines, formService, formTypes, historyService, identityService, idGenerator, idGeneratorDataSource, idGeneratorDataSourceJndiName, isBulkInsertEnabled, jobHandlers, knowledgeBaseCache, knowledgeBaseCacheLimit, listenerFactory, managementService, maxLengthStringVariableType, maxNrOfStatementsInBulkInsert, objectMapper, postBpmnParseHandlers, preBpmnParseHandlers, processDefinitionCache, processDefinitionCacheLimit, processDefinitionInfoCache, processDefinitionInfoCacheLimit, processValidator, repositoryService, resolverFactories, runtimeService, schemaCommandConfig, scriptingEngines, sessionFactories, sqlSessionFactory, taskService, transactionContextFactory, transactionFactory, typedEventListeners, variableTypes, wsSyncFactoryClassName
activityFontName, asyncExecutor, asyncExecutorActivate, asyncExecutorEnabled, asyncFailedJobWaitTime, classLoader, clock, databaseCatalog, databaseSchema, databaseSchemaUpdate, databaseTablePrefix, databaseType, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultCamelContext, defaultFailedJobWaitTime, enableProcessDefinitionInfoCache, history, historyLevel, idBlockSize, isCreateDiagramOnDeploy, isDbHistoryUsed, isDbIdentityUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, jobExecutor, jobExecutorActivate, jpaCloseEntityManager, jpaEntityManagerFactory, jpaHandleTransaction, jpaPersistenceUnitName, labelFontName, lockTimeAsyncJobWaitTime, mailServerDefaultFrom, mailServerHost, mailServerPassword, mailServerPort, mailServers, mailServerUsername, mailSessionJndi, mailSessionsJndi, NO_TENANT_ID, processDiagramGenerator, processEngineLifecycleListener, processEngineName, tablePrefixIsSchema, transactionsExternallyManaged, useClassForNameClassLoading, useSSL, useTLS, xmlEncoding
Constructor and Description |
---|
SpringProcessEngineConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
autoDeployResources(ProcessEngine processEngine) |
ProcessEngine |
buildProcessEngine() |
protected CommandInterceptor |
createTransactionInterceptor() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
protected AutoDeploymentStrategy |
getAutoDeploymentStrategy(String mode)
Gets the
AutoDeploymentStrategy for the provided mode. |
String |
getDeploymentMode() |
String |
getDeploymentName() |
org.springframework.core.io.Resource[] |
getDeploymentResources() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
protected void |
initDefaultCommandConfig() |
protected void |
initJpa() |
protected void |
initTransactionContextFactory() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
ProcessEngineConfiguration |
setDataSource(DataSource dataSource) |
void |
setDeploymentMode(String deploymentMode) |
void |
setDeploymentName(String deploymentName) |
void |
setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
void |
setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) |
addConfigurator, addSessionFactory, configuratorsAfterInit, configuratorsBeforeInit, getActivityBehaviorFactory, getAllConfigurators, getAsyncExecutorAsyncJobLockTimeInMillis, getAsyncExecutorCorePoolSize, getAsyncExecutorDefaultAsyncJobAcquireWaitTime, getAsyncExecutorDefaultQueueSizeFullWaitTime, getAsyncExecutorExecuteAsyncRunnableFactory, getAsyncExecutorLockOwner, getAsyncExecutorLockRetryWaitTimeInMillis, getAsyncExecutorMaxAsyncJobsDuePerAcquisition, getAsyncExecutorMaxPoolSize, getAsyncExecutorMaxTimerJobsPerAcquisition, getAsyncExecutorSecondsToWaitOnShutdown, getAsyncExecutorThreadKeepAliveTime, getAsyncExecutorThreadPoolQueue, getAsyncExecutorThreadPoolQueueSize, getAsyncExecutorTimerJobAcquireWaitTime, getAsyncExecutorTimerLockTimeInMillis, getBatchSizeProcessInstances, getBatchSizeTasks, getBeans, getBpmnDeployer, getBpmnParseFactory, getBpmnParser, getBusinessCalendarManager, getCommandContextFactory, getCommandExecutor, getCommandInterceptors, getCommandInvoker, getConfigurators, getCustomDefaultBpmnParseHandlers, getCustomEventHandlers, getCustomFormEngines, getCustomFormTypes, getCustomJobHandlers, getCustomMybatisMappers, getCustomMybatisXMLMappers, getCustomPostCommandInterceptors, getCustomPostDeployers, getCustomPostVariableTypes, getCustomPreCommandInterceptors, getCustomPreDeployers, getCustomPreVariableTypes, getCustomRejectedJobsHandler, getCustomScriptingEngineClasses, getCustomSessionFactories, getDbSqlSessionFactory, getDefaultBpmnParseHandlers, getDefaultCommandConfig, getDefaultCommandInterceptors, getDefaultDatabaseTypeMappings, getDefaultDeployers, getDefaultHistoryParseHandlers, getDelegateInterceptor, getDeployers, getDeploymentManager, getDynamicBpmnService, getEventDispatcher, getEventHandler, getEventHandlers, getExpressionManager, getFailedJobCommandFactory, getFormEngines, getFormService, getFormTypes, getHistoryService, getIdentityService, getIdGenerator, getIdGeneratorDataSource, getIdGeneratorDataSourceJndiName, getJobHandlers, getKnowledgeBaseCache, getKnowledgeBaseCacheLimit, getListenerFactory, getManagementService, getMaxLengthString, getMaxLengthStringVariableType, getMaxNrOfStatementsInBulkInsert, getMyBatisXmlConfigurationSteam, getObjectMapper, getPostBpmnParseHandlers, getPreBpmnParseHandlers, getProcessDefinitionCache, getProcessDefinitionCacheLimit, getProcessEngineConfiguration, getProcessValidator, getRepositoryService, getResolverFactories, getResourceAsStream, getRuntimeService, getSchemaCommandConfig, getScriptingEngines, getSessionFactories, getSqlSessionFactory, getTaskService, getTransactionContextFactory, getTransactionFactory, getVariableTypes, getWsSyncFactoryClassName, init, initAsyncExecutor, initBeans, initBusinessCalendarManager, initCommandContextFactory, initCommandExecutor, initCommandExecutors, initCommandInterceptors, initCommandInvoker, initConfigurators, initCustomMybatisMappers, initDatabaseEventLogging, initDatabaseType, initDataSource, initDelegateInterceptor, initDeployers, initEventDispatcher, initEventHandlers, initExpressionManager, initFailedJobCommandFactory, initFormEngines, initFormTypes, initHistoryLevel, initIdGenerator, initInterceptorChain, initJobExecutor, initJobHandlers, initMybatisConfiguration, initMybatisTypeHandlers, initProcessDiagramGenerator, initProcessValidator, initScriptingEngines, initService, initServices, initSessionFactories, initSqlSessionFactory, initTransactionFactory, initVariableTypes, isBulkInsertEnabled, isEnableDatabaseEventLogging, isEnableEventDispatcher, isEnableSafeBpmnXml, parseCustomMybatisXMLMappers, parseMybatisConfiguration, setActivityBehaviorFactory, setAsyncExecutorAsyncJobLockTimeInMillis, setAsyncExecutorCorePoolSize, setAsyncExecutorDefaultAsyncJobAcquireWaitTime, setAsyncExecutorDefaultQueueSizeFullWaitTime, setAsyncExecutorDefaultTimerJobAcquireWaitTime, setAsyncExecutorExecuteAsyncRunnableFactory, setAsyncExecutorLockOwner, setAsyncExecutorLockRetryWaitTimeInMillis, setAsyncExecutorMaxAsyncJobsDuePerAcquisition, setAsyncExecutorMaxPoolSize, setAsyncExecutorMaxTimerJobsPerAcquisition, setAsyncExecutorSecondsToWaitOnShutdown, setAsyncExecutorThreadKeepAliveTime, setAsyncExecutorThreadPoolQueue, setAsyncExecutorThreadPoolQueueSize, setAsyncExecutorTimerLockTimeInMillis, setBatchSizeProcessInstances, setBatchSizeTasks, setBeans, setBpmnDeployer, setBpmnParseFactory, setBpmnParser, setBulkInsertEnabled, setBusinessCalendarManager, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setConfigurators, setCustomDefaultBpmnParseHandlers, setCustomEventHandlers, setCustomFormEngines, setCustomFormTypes, setCustomJobHandlers, setCustomMybatisMappers, setCustomMybatisXMLMappers, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPostVariableTypes, setCustomPreCommandInterceptors, setCustomPreDeployers, setCustomPreVariableTypes, setCustomRejectedJobsHandler, setCustomScriptingEngineClasses, setCustomSessionFactories, setDbSqlSessionFactory, setDefaultCommandConfig, setDelegateInterceptor, setDeployers, setDeploymentManager, setDynamicBpmnService, setEnableConfiguratorServiceLoader, setEnableDatabaseEventLogging, setEnableEventDispatcher, setEnableSafeBpmnXml, setEventDispatcher, setEventHandlers, setEventListeners, setExpressionManager, setFailedJobCommandFactory, setFormEngines, setFormService, setFormTypes, setHistoryService, setIdentityService, setIdGenerator, setIdGeneratorDataSource, setIdGeneratorDataSourceJndiName, setJobHandlers, setKnowledgeBaseCache, setKnowledgeBaseCacheLimit, setListenerFactory, setManagementService, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setPostBpmnParseHandlers, setPreBpmnParseHandlers, setProcessDefinitionCache, setProcessDefinitionCacheLimit, setProcessValidator, setRepositoryService, setResolverFactories, setRuntimeService, setSchemaCommandConfig, setScriptingEngines, setSessionFactories, setSqlSessionFactory, setTaskService, setTransactionContextFactory, setTransactionFactory, setTypedEventListeners, setVariableTypes, setWsSyncFactoryClassName
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getActivityFontName, getAsyncExecutor, getAsyncFailedJobWaitTime, getClassLoader, getClock, getDatabaseCatalog, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDataSource, getDataSourceJndiName, getDefaultCamelContext, getDefaultFailedJobWaitTime, getHistory, getHistoryLevel, getIdBlockSize, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getJobExecutor, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getLabelFontName, getLockTimeAsyncJobWaitTime, getMailServer, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServers, getMailServerUsername, getMailServerUseSSL, getMailServerUseTLS, getMailSessionJndi, getMailSessionJndi, getMailSessionsJndi, getProcessDiagramGenerator, getProcessEngineLifecycleListener, getProcessEngineName, getXmlEncoding, isAsyncExecutorActivate, isAsyncExecutorEnabled, isCreateDiagramOnDeploy, isDbHistoryUsed, isDbIdentityUsed, isEnableProcessDefinitionInfoCache, isJdbcPingEnabled, isJobExecutorActivate, isJpaCloseEntityManager, isJpaHandleTransaction, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, setActivityFontName, setAsyncExecutor, setAsyncExecutorActivate, setAsyncExecutorEnabled, setAsyncFailedJobWaitTime, setClassLoader, setClock, setCreateDiagramOnDeploy, setDatabaseCatalog, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDataSourceJndiName, setDbHistoryUsed, setDbIdentityUsed, setDefaultCamelContext, setDefaultFailedJobWaitTime, setEnableProcessDefinitionInfoCache, setHistory, setHistoryLevel, setIdBlockSize, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobExecutor, setJobExecutorActivate, setJpaCloseEntityManager, setJpaEntityManagerFactory, setJpaHandleTransaction, setJpaPersistenceUnitName, setLabelFontName, setLockTimeAsyncJobWaitTime, setMailServerDefaultFrom, setMailServerHost, setMailServerPassword, setMailServerPort, setMailServers, setMailServerUsername, setMailServerUseSSL, setMailServerUseTLS, setMailSessionJndi, setMailSessionsJndi, setProcessDiagramGenerator, setProcessEngineLifecycleListener, setProcessEngineName, setTablePrefixIsSchema, setTransactionsExternallyManaged, setUseClassForNameClassLoading, setXmlEncoding
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected String deploymentName
protected org.springframework.core.io.Resource[] deploymentResources
protected String deploymentMode
protected org.springframework.context.ApplicationContext applicationContext
protected Integer transactionSynchronizationAdapterOrder
public ProcessEngine buildProcessEngine()
buildProcessEngine
in class ProcessEngineConfigurationImpl
public void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder)
protected void initDefaultCommandConfig()
initDefaultCommandConfig
in class ProcessEngineConfigurationImpl
protected CommandInterceptor createTransactionInterceptor()
createTransactionInterceptor
in class ProcessEngineConfigurationImpl
protected void initTransactionContextFactory()
initTransactionContextFactory
in class ProcessEngineConfigurationImpl
protected void initJpa()
initJpa
in class ProcessEngineConfigurationImpl
protected void autoDeployResources(ProcessEngine processEngine)
public ProcessEngineConfiguration setDataSource(DataSource dataSource)
setDataSource
in class ProcessEngineConfiguration
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
public String getDeploymentName()
public void setDeploymentName(String deploymentName)
public org.springframework.core.io.Resource[] getDeploymentResources()
public void setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources)
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public String getDeploymentMode()
public void setDeploymentMode(String deploymentMode)
protected AutoDeploymentStrategy getAutoDeploymentStrategy(String mode)
AutoDeploymentStrategy
for the provided mode. This method
may be overridden to implement custom deployment strategies if required,
but implementors should take care not to return null
.mode
- the mode to get the strategy fornull
Copyright © 2016 Alfresco. All rights reserved.