org.camunda.bpm.engine.impl.cfg
Class ProcessEngineConfigurationImpl
java.lang.Object
org.camunda.bpm.engine.ProcessEngineConfiguration
org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
- Direct Known Subclasses:
- JtaProcessEngineConfiguration, StandaloneProcessEngineConfiguration
public abstract class ProcessEngineConfigurationImpl
- extends ProcessEngineConfiguration
- Author:
- Tom Baeyens
| Fields inherited from class org.camunda.bpm.engine.ProcessEngineConfiguration |
authorizationEnabled, classLoader, createIncidentOnFailedJobEnabled, databaseSchemaUpdate, databaseType, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, history, HISTORY_ACTIVITY, HISTORY_AUDIT, HISTORY_FULL, HISTORY_NONE, HISTORY_VARIABLE, idBlockSize, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, jobExecutorActivate, jobExecutorDeploymentAware, jpaCloseEntityManager, jpaEntityManagerFactory, jpaHandleTransaction, jpaPersistenceUnitName, mailServerDefaultFrom, mailServerHost, mailServerPassword, mailServerPort, mailServerUsername, processEngineName, transactionsExternallyManaged, useTLS |
|
Method Summary |
protected void |
addSessionFactory(SessionFactory sessionFactory)
|
ProcessEngine |
buildProcessEngine()
|
AuthorizationService |
getAuthorizationService()
|
Map<Object,Object> |
getBeans()
|
BusinessCalendarManager |
getBusinessCalendarManager()
|
CommandContextFactory |
getCommandContextFactory()
|
CommandExecutor |
getCommandExecutorSchemaOperations()
|
CommandExecutor |
getCommandExecutorTxRequired()
|
CommandExecutor |
getCommandExecutorTxRequiresNew()
|
List<CommandInterceptor> |
getCommandInterceptorsTxRequired()
|
List<CommandInterceptor> |
getCommandInterceptorsTxRequiresNew()
|
CorrelationHandler |
getCorrelationHandler()
|
List<EventHandler> |
getCustomEventHandlers()
|
List<FormEngine> |
getCustomFormEngines()
|
Map<String,Class<? extends FormFieldValidator>> |
getCustomFormFieldValidators()
|
List<AbstractFormFieldType> |
getCustomFormTypes()
|
List<IncidentHandler> |
getCustomIncidentHandlers()
|
List<JobHandler> |
getCustomJobHandlers()
|
List<BpmnParseListener> |
getCustomPostBPMNParseListeners()
|
List<CommandInterceptor> |
getCustomPostCommandInterceptorsTxRequired()
|
List<CommandInterceptor> |
getCustomPostCommandInterceptorsTxRequiresNew()
|
List<Deployer> |
getCustomPostDeployers()
|
List<VariableType> |
getCustomPostVariableTypes()
|
List<BpmnParseListener> |
getCustomPreBPMNParseListeners()
|
List<CommandInterceptor> |
getCustomPreCommandInterceptorsTxRequired()
|
List<CommandInterceptor> |
getCustomPreCommandInterceptorsTxRequiresNew()
|
List<Deployer> |
getCustomPreDeployers()
|
List<VariableType> |
getCustomPreVariableTypes()
|
RejectedJobsHandler |
getCustomRejectedJobsHandler()
|
List<String> |
getCustomScriptingEngineClasses()
|
List<SessionFactory> |
getCustomSessionFactories()
|
String |
getDatabaseSchema()
|
String |
getDatabaseTablePrefix()
|
DbSqlSessionFactory |
getDbSqlSessionFactory()
|
protected List<BpmnParseListener> |
getDefaultBPMNParseListeners()
|
protected abstract Collection<? extends CommandInterceptor> |
getDefaultCommandInterceptorsTxRequired()
|
protected abstract Collection<? extends CommandInterceptor> |
getDefaultCommandInterceptorsTxRequiresNew()
|
protected static Properties |
getDefaultDatabaseTypeMappings()
|
protected Collection<? extends Deployer> |
getDefaultDeployers()
|
DelegateInterceptor |
getDelegateInterceptor()
|
List<Deployer> |
getDeployers()
|
DeploymentCache |
getDeploymentCache()
|
EventHandler |
getEventHandler(String eventType)
|
Map<String,EventHandler> |
getEventHandlers()
|
ExpressionManager |
getExpressionManager()
|
FailedJobCommandFactory |
getFailedJobCommandFactory()
|
Map<String,FormEngine> |
getFormEngines()
|
FormService |
getFormService()
|
FormTypes |
getFormTypes()
|
FormValidators |
getFormValidators()
|
HistoryEventHandler |
getHistoryEventHandler()
|
HistoryEventProducer |
getHistoryEventProducer()
|
int |
getHistoryLevel()
|
HistoryService |
getHistoryService()
|
SessionFactory |
getIdentityProviderSessionFactory()
|
IdentityService |
getIdentityService()
|
IdGenerator |
getIdGenerator()
|
DataSource |
getIdGeneratorDataSource()
|
String |
getIdGeneratorDataSourceJndiName()
|
IncidentHandler |
getIncidentHandler(String incidentType)
|
Map<String,IncidentHandler> |
getIncidentHandlers()
|
JobExecutor |
getJobExecutor()
|
Map<String,JobHandler> |
getJobHandlers()
|
MailScanner |
getMailScanner()
|
ManagementService |
getManagementService()
|
protected InputStream |
getMyBatisXmlConfigurationSteam()
|
PasswordEncryptor |
getPasswordEncryptor()
|
List<BpmnParseListener> |
getPostParseListeners()
|
List<BpmnParseListener> |
getPreParseListeners()
|
ProcessApplicationManager |
getProcessApplicationManager()
|
ProcessEngineImpl |
getProcessEngine()
|
String |
getProcessEngineName()
|
List<ProcessEnginePlugin> |
getProcessEnginePlugins()
|
Set<String> |
getRegisteredDeployments()
|
RepositoryService |
getRepositoryService()
|
List<ResolverFactory> |
getResolverFactories()
|
ResourceAuthorizationProvider |
getResourceAuthorizationProvider()
|
RuntimeService |
getRuntimeService()
|
ScriptingEngines |
getScriptingEngines()
|
Map<Class<?>,SessionFactory> |
getSessionFactories()
|
org.apache.ibatis.session.SqlSessionFactory |
getSqlSessionFactory()
|
TaskService |
getTaskService()
|
TransactionContextFactory |
getTransactionContextFactory()
|
org.apache.ibatis.transaction.TransactionFactory |
getTransactionFactory()
|
VariableTypes |
getVariableTypes()
|
String |
getWsSyncFactoryClassName()
|
protected void |
init()
|
protected void |
initActualCommandExecutor()
|
protected void |
initBeans()
|
protected void |
initBusinessCalendarManager()
|
protected void |
initCommandContextFactory()
|
protected void |
initCommandExecutorDbSchemaOperations()
|
protected void |
initCommandExecutors()
|
protected void |
initCommandExecutorTxRequired()
|
protected void |
initCommandExecutorTxRequiresNew()
|
protected void |
initCommandInterceptorsTxRequired()
|
protected void |
initCommandInterceptorsTxRequiresNew()
|
protected void |
initCorrelationHandler()
|
void |
initDatabaseType()
|
protected void |
initDataSource()
|
protected void |
initDelegateInterceptor()
|
protected void |
initDeployers()
|
protected void |
initDeploymentRegistration()
|
protected void |
initEventHandlers()
|
protected void |
initExpressionManager()
|
protected void |
initFailedJobCommandFactory()
|
protected void |
initFormEngines()
|
protected void |
initFormFieldValidators()
|
protected void |
initFormTypes()
|
protected void |
initHistoryEventHandler()
|
protected void |
initHistoryEventProducer()
|
void |
initHistoryLevel()
|
protected void |
initIdentityProviderSessionFactory()
|
protected void |
initIdGenerator()
|
protected void |
initIncidentHandlers()
|
protected CommandInterceptor |
initInterceptorChain(List<CommandInterceptor> chain)
|
protected void |
initJobExecutor()
|
protected void |
initJpa()
|
protected void |
initMailScanner()
|
protected void |
initPasswordDigest()
|
protected void |
initProcessApplicationManager()
|
protected void |
initResourceAuthorizationProvider()
|
protected void |
initScriptingEngines()
|
protected void |
initService(Object service)
|
protected void |
initServices()
|
protected void |
initSessionFactories()
|
protected void |
initSqlSessionFactory()
|
protected void |
initTransactionContextFactory()
|
protected void |
initTransactionFactory()
|
protected void |
initVariableTypes()
|
protected void |
invokePostInit()
|
protected void |
invokePostProcessEngineBuild(ProcessEngine engine)
|
protected void |
invokePreInit()
|
boolean |
isCreateDiagramOnDeploy()
|
boolean |
isDbHistoryUsed()
|
boolean |
isDbIdentityUsed()
|
boolean |
isExecutionTreePrefetchEnabled()
|
void |
setBeans(Map<Object,Object> beans)
|
ProcessEngineConfigurationImpl |
setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager)
|
ProcessEngineConfigurationImpl |
setClassLoader(ClassLoader classLoader)
|
ProcessEngineConfigurationImpl |
setCommandContextFactory(CommandContextFactory commandContextFactory)
|
void |
setCommandExecutorSchemaOperations(CommandExecutor commandExecutorSchemaOperations)
|
ProcessEngineConfigurationImpl |
setCommandExecutorTxRequired(CommandExecutor commandExecutorTxRequired)
|
ProcessEngineConfigurationImpl |
setCommandExecutorTxRequiresNew(CommandExecutor commandExecutorTxRequiresNew)
|
ProcessEngineConfigurationImpl |
setCommandInterceptorsTxRequired(List<CommandInterceptor> commandInterceptorsTxRequired)
|
ProcessEngineConfigurationImpl |
setCommandInterceptorsTxRequiresNew(List<CommandInterceptor> commandInterceptorsTxRequiresNew)
|
void |
setCorrelationHandler(CorrelationHandler correlationHandler)
|
ProcessEngineConfiguration |
setCreateDiagramOnDeploy(boolean createDiagramOnDeploy)
|
void |
setCustomEventHandlers(List<EventHandler> customEventHandlers)
|
ProcessEngineConfigurationImpl |
setCustomFormEngines(List<FormEngine> customFormEngines)
|
void |
setCustomFormFieldValidators(Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators)
|
ProcessEngineConfigurationImpl |
setCustomFormTypes(List<AbstractFormFieldType> customFormTypes)
|
void |
setCustomIncidentHandlers(List<IncidentHandler> customIncidentHandlers)
|
ProcessEngineConfigurationImpl |
setCustomJobHandlers(List<JobHandler> customJobHandlers)
|
void |
setCustomPostBPMNParseListeners(List<BpmnParseListener> postParseListeners)
|
ProcessEngineConfigurationImpl |
setCustomPostCommandInterceptorsTxRequired(List<CommandInterceptor> customPostCommandInterceptorsTxRequired)
|
ProcessEngineConfigurationImpl |
setCustomPostCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew)
|
ProcessEngineConfigurationImpl |
setCustomPostDeployers(List<Deployer> customPostDeployers)
|
ProcessEngineConfigurationImpl |
setCustomPostVariableTypes(List<VariableType> customPostVariableTypes)
|
void |
setCustomPreBPMNParseListeners(List<BpmnParseListener> preParseListeners)
|
ProcessEngineConfigurationImpl |
setCustomPreCommandInterceptorsTxRequired(List<CommandInterceptor> customPreCommandInterceptorsTxRequired)
|
ProcessEngineConfigurationImpl |
setCustomPreCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew)
|
ProcessEngineConfigurationImpl |
setCustomPreDeployers(List<Deployer> customPreDeployers)
|
ProcessEngineConfigurationImpl |
setCustomPreVariableTypes(List<VariableType> customPreVariableTypes)
|
ProcessEngineConfigurationImpl |
setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler)
|
ProcessEngineConfigurationImpl |
setCustomScriptingEngineClasses(List<String> customScriptingEngineClasses)
|
ProcessEngineConfigurationImpl |
setCustomSessionFactories(List<SessionFactory> customSessionFactories)
|
void |
setDatabaseSchema(String databaseSchema)
|
ProcessEngineConfigurationImpl |
setDatabaseSchemaUpdate(String databaseSchemaUpdate)
|
ProcessEngineConfiguration |
setDatabaseTablePrefix(String databaseTablePrefix)
Allows configuring a database table prefix which is used for all runtime operations of the process engine. |
ProcessEngineConfigurationImpl |
setDatabaseType(String databaseType)
|
ProcessEngineConfigurationImpl |
setDataSource(DataSource dataSource)
|
void |
setDbHistoryUsed(boolean isDbHistoryUsed)
|
void |
setDbIdentityUsed(boolean isDbIdentityUsed)
|
ProcessEngineConfigurationImpl |
setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory)
|
ProcessEngineConfigurationImpl |
setDelegateInterceptor(DelegateInterceptor delegateInterceptor)
|
ProcessEngineConfigurationImpl |
setDeployers(List<Deployer> deployers)
|
void |
setDeploymentCache(DeploymentCache deploymentCache)
|
void |
setEventHandlers(Map<String,EventHandler> eventHandlers)
|
void |
setExecutionTreePrefetchEnabled(boolean isExecutionTreePrefetchingEnabled)
|
ProcessEngineConfigurationImpl |
setExpressionManager(ExpressionManager expressionManager)
|
ProcessEngineConfigurationImpl |
setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)
|
ProcessEngineConfigurationImpl |
setFormEngines(Map<String,FormEngine> formEngines)
|
ProcessEngineConfigurationImpl |
setFormService(FormService formService)
|
ProcessEngineConfigurationImpl |
setFormTypes(FormTypes formTypes)
|
void |
setFormValidators(FormValidators formValidators)
|
ProcessEngineConfigurationImpl |
setHistory(String history)
|
ProcessEngineConfigurationImpl |
setHistoryEventHandler(HistoryEventHandler historyEventHandler)
|
ProcessEngineConfigurationImpl |
setHistoryEventProducer(HistoryEventProducer historyEventProducerFactory)
|
void |
setHistoryLevel(int historyLevel)
|
ProcessEngineConfigurationImpl |
setHistoryService(HistoryService historyService)
|
ProcessEngineConfigurationImpl |
setIdBlockSize(int idBlockSize)
|
void |
setIdentityProviderSessionFactory(SessionFactory identityProviderSessionFactory)
|
ProcessEngineConfigurationImpl |
setIdentityService(IdentityService identityService)
|
ProcessEngineConfigurationImpl |
setIdGenerator(IdGenerator idGenerator)
|
void |
setIdGeneratorDataSource(DataSource idGeneratorDataSource)
|
void |
setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)
|
void |
setIncidentHandlers(Map<String,IncidentHandler> incidentHandlers)
|
ProcessEngineConfigurationImpl |
setJdbcDriver(String jdbcDriver)
|
ProcessEngineConfigurationImpl |
setJdbcMaxActiveConnections(int jdbcMaxActiveConnections)
|
ProcessEngineConfigurationImpl |
setJdbcMaxCheckoutTime(int jdbcMaxCheckoutTime)
|
ProcessEngineConfigurationImpl |
setJdbcMaxIdleConnections(int jdbcMaxIdleConnections)
|
ProcessEngineConfigurationImpl |
setJdbcMaxWaitTime(int jdbcMaxWaitTime)
|
ProcessEngineConfigurationImpl |
setJdbcPassword(String jdbcPassword)
|
ProcessEngineConfigurationImpl |
setJdbcPingConnectionNotUsedFor(int jdbcPingNotUsedFor)
|
ProcessEngineConfigurationImpl |
setJdbcPingEnabled(boolean jdbcPingEnabled)
|
ProcessEngineConfigurationImpl |
setJdbcPingQuery(String jdbcPingQuery)
|
ProcessEngineConfigurationImpl |
setJdbcUrl(String jdbcUrl)
|
ProcessEngineConfigurationImpl |
setJdbcUsername(String jdbcUsername)
|
ProcessEngineConfigurationImpl |
setJobExecutor(JobExecutor jobExecutor)
|
ProcessEngineConfigurationImpl |
setJobExecutorActivate(boolean jobExecutorActivate)
|
ProcessEngineConfigurationImpl |
setJobHandlers(Map<String,JobHandler> jobHandlers)
|
ProcessEngineConfigurationImpl |
setJpaCloseEntityManager(boolean jpaCloseEntityManager)
|
ProcessEngineConfigurationImpl |
setJpaEntityManagerFactory(Object jpaEntityManagerFactory)
|
ProcessEngineConfigurationImpl |
setJpaHandleTransaction(boolean jpaHandleTransaction)
|
void |
setMailScanner(MailScanner mailScanner)
|
ProcessEngineConfigurationImpl |
setMailServerDefaultFrom(String mailServerDefaultFrom)
|
ProcessEngineConfigurationImpl |
setMailServerHost(String mailServerHost)
|
ProcessEngineConfigurationImpl |
setMailServerPassword(String mailServerPassword)
|
ProcessEngineConfigurationImpl |
setMailServerPort(int mailServerPort)
|
ProcessEngineConfigurationImpl |
setMailServerUsername(String mailServerUsername)
|
ProcessEngineConfigurationImpl |
setMailServerUseTLS(boolean useTLS)
|
ProcessEngineConfigurationImpl |
setManagementService(ManagementService managementService)
|
void |
setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
|
void |
setPostParseListeners(List<BpmnParseListener> postParseListeners)
|
void |
setPreParseListeners(List<BpmnParseListener> preParseListeners)
|
void |
setProcessApplicationManager(ProcessApplicationManager processApplicationManager)
|
ProcessEngineConfigurationImpl |
setProcessEngineName(String processEngineName)
|
void |
setProcessEnginePlugins(List<ProcessEnginePlugin> processEnginePlugins)
|
void |
setRegisteredDeployments(Set<String> registeredDeployments)
|
ProcessEngineConfigurationImpl |
setRepositoryService(RepositoryService repositoryService)
|
void |
setResolverFactories(List<ResolverFactory> resolverFactories)
|
void |
setResourceAuthorizationProvider(ResourceAuthorizationProvider resourceAuthorizationProvider)
|
ProcessEngineConfigurationImpl |
setRuntimeService(RuntimeService runtimeService)
|
ProcessEngineConfigurationImpl |
setScriptingEngines(ScriptingEngines scriptingEngines)
|
ProcessEngineConfigurationImpl |
setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)
|
ProcessEngineConfigurationImpl |
setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
|
ProcessEngineConfigurationImpl |
setTaskService(TaskService taskService)
|
ProcessEngineConfigurationImpl |
setTransactionContextFactory(TransactionContextFactory transactionContextFactory)
|
ProcessEngineConfigurationImpl |
setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory)
|
ProcessEngineConfigurationImpl |
setTransactionsExternallyManaged(boolean transactionsExternallyManaged)
|
ProcessEngineConfigurationImpl |
setVariableTypes(VariableTypes variableTypes)
|
ProcessEngineConfigurationImpl |
setWsSyncFactoryClassName(String wsSyncFactoryClassName)
|
| Methods inherited from class org.camunda.bpm.engine.ProcessEngineConfiguration |
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getClassLoader, getDatabaseSchemaUpdate, getDatabaseType, getDataSource, getDataSourceJndiName, getHistory, getIdBlockSize, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServerUsername, getMailServerUseTLS, isAuthorizationEnabled, isCreateIncidentOnFailedJobEnabled, isJdbcPingEnabled, isJobExecutorActivate, isJobExecutorDeploymentAware, isJpaCloseEntityManager, isJpaHandleTransaction, isTransactionsExternallyManaged, setAuthorizationEnabled, setCreateIncidentOnFailedJobEnabled, setDataSourceJndiName, setJobExecutorDeploymentAware, setJpaPersistenceUnitName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DB_SCHEMA_UPDATE_CREATE
public static final String DB_SCHEMA_UPDATE_CREATE
- See Also:
- Constant Field Values
DB_SCHEMA_UPDATE_DROP_CREATE
public static final String DB_SCHEMA_UPDATE_DROP_CREATE
- See Also:
- Constant Field Values
HISTORYLEVEL_NONE
public static final int HISTORYLEVEL_NONE
- See Also:
- Constant Field Values
HISTORYLEVEL_ACTIVITY
public static final int HISTORYLEVEL_ACTIVITY
- See Also:
- Constant Field Values
HISTORYLEVEL_AUDIT
public static final int HISTORYLEVEL_AUDIT
- See Also:
- Constant Field Values
HISTORYLEVEL_FULL
public static final int HISTORYLEVEL_FULL
- See Also:
- Constant Field Values
DEFAULT_WS_SYNC_FACTORY
public static final String DEFAULT_WS_SYNC_FACTORY
- See Also:
- Constant Field Values
DEFAULT_MYBATIS_MAPPING_FILE
public static final String DEFAULT_MYBATIS_MAPPING_FILE
- See Also:
- Constant Field Values
repositoryService
protected RepositoryService repositoryService
runtimeService
protected RuntimeService runtimeService
historyService
protected HistoryService historyService
identityService
protected IdentityService identityService
taskService
protected TaskService taskService
formService
protected FormService formService
managementService
protected ManagementService managementService
authorizationService
protected AuthorizationService authorizationService
customPreCommandInterceptorsTxRequired
protected List<CommandInterceptor> customPreCommandInterceptorsTxRequired
- the configurable list which will be
processed to build the commandExecutorTxRequired
customPostCommandInterceptorsTxRequired
protected List<CommandInterceptor> customPostCommandInterceptorsTxRequired
commandInterceptorsTxRequired
protected List<CommandInterceptor> commandInterceptorsTxRequired
commandExecutorTxRequired
protected CommandExecutor commandExecutorTxRequired
- this will be initialized during the configurationComplete()
customPreCommandInterceptorsTxRequiresNew
protected List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew
- the configurable list which will be
processed to build the commandExecutorTxRequiresNew
customPostCommandInterceptorsTxRequiresNew
protected List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew
commandInterceptorsTxRequiresNew
protected List<CommandInterceptor> commandInterceptorsTxRequiresNew
commandExecutorTxRequiresNew
protected CommandExecutor commandExecutorTxRequiresNew
- this will be initialized during the configurationComplete()
commandExecutorSchemaOperations
protected CommandExecutor commandExecutorSchemaOperations
- Separate command executor to be used for db schema operations. Must always use NON-JTA transactions
customSessionFactories
protected List<SessionFactory> customSessionFactories
dbSqlSessionFactory
protected DbSqlSessionFactory dbSqlSessionFactory
sessionFactories
protected Map<Class<?>,SessionFactory> sessionFactories
customPreDeployers
protected List<Deployer> customPreDeployers
customPostDeployers
protected List<Deployer> customPostDeployers
deployers
protected List<Deployer> deployers
deploymentCache
protected DeploymentCache deploymentCache
customJobHandlers
protected List<JobHandler> customJobHandlers
jobHandlers
protected Map<String,JobHandler> jobHandlers
jobExecutor
protected JobExecutor jobExecutor
mailScanner
protected MailScanner mailScanner
sqlSessionFactory
protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory
transactionFactory
protected org.apache.ibatis.transaction.TransactionFactory transactionFactory
idGenerator
protected IdGenerator idGenerator
idGeneratorDataSource
protected DataSource idGeneratorDataSource
idGeneratorDataSourceJndiName
protected String idGeneratorDataSourceJndiName
incidentHandlers
protected Map<String,IncidentHandler> incidentHandlers
customIncidentHandlers
protected List<IncidentHandler> customIncidentHandlers
customFormEngines
protected List<FormEngine> customFormEngines
formEngines
protected Map<String,FormEngine> formEngines
customFormTypes
protected List<AbstractFormFieldType> customFormTypes
formTypes
protected FormTypes formTypes
formValidators
protected FormValidators formValidators
customFormFieldValidators
protected Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators
customPreVariableTypes
protected List<VariableType> customPreVariableTypes
customPostVariableTypes
protected List<VariableType> customPostVariableTypes
variableTypes
protected VariableTypes variableTypes
expressionManager
protected ExpressionManager expressionManager
customScriptingEngineClasses
protected List<String> customScriptingEngineClasses
scriptingEngines
protected ScriptingEngines scriptingEngines
resolverFactories
protected List<ResolverFactory> resolverFactories
businessCalendarManager
protected BusinessCalendarManager businessCalendarManager
wsSyncFactoryClassName
protected String wsSyncFactoryClassName
commandContextFactory
protected CommandContextFactory commandContextFactory
transactionContextFactory
protected TransactionContextFactory transactionContextFactory
bpmnParseFactory
protected BpmnParseFactory bpmnParseFactory
historyLevel
protected int historyLevel
preParseListeners
protected List<BpmnParseListener> preParseListeners
postParseListeners
protected List<BpmnParseListener> postParseListeners
beans
protected Map<Object,Object> beans
isDbIdentityUsed
protected boolean isDbIdentityUsed
isDbHistoryUsed
protected boolean isDbHistoryUsed
delegateInterceptor
protected DelegateInterceptor delegateInterceptor
actualCommandExecutor
protected CommandInterceptor actualCommandExecutor
customRejectedJobsHandler
protected RejectedJobsHandler customRejectedJobsHandler
eventHandlers
protected Map<String,EventHandler> eventHandlers
customEventHandlers
protected List<EventHandler> customEventHandlers
failedJobCommandFactory
protected FailedJobCommandFactory failedJobCommandFactory
databaseTablePrefix
protected String databaseTablePrefix
databaseSchema
protected String databaseSchema
- In some situations you want to set the schema to use for table checks / generation if the database metadata
doesn't return that correctly, see https://jira.codehaus.org/browse/ACT-1220,
https://jira.codehaus.org/browse/ACT-1062
isCreateDiagramOnDeploy
protected boolean isCreateDiagramOnDeploy
processApplicationManager
protected ProcessApplicationManager processApplicationManager
correlationHandler
protected CorrelationHandler correlationHandler
identityProviderSessionFactory
protected SessionFactory identityProviderSessionFactory
- session factory to be used for obtaining identity provider sessions
passwordEncryptor
protected PasswordEncryptor passwordEncryptor
registeredDeployments
protected Set<String> registeredDeployments
resourceAuthorizationProvider
protected ResourceAuthorizationProvider resourceAuthorizationProvider
processEnginePlugins
protected List<ProcessEnginePlugin> processEnginePlugins
historyEventProducer
protected HistoryEventProducer historyEventProducer
historyEventHandler
protected HistoryEventHandler historyEventHandler
isExecutionTreePrefetchEnabled
protected boolean isExecutionTreePrefetchEnabled
processEngine
protected ProcessEngineImpl processEngine
- The process engine created by this configuration.
databaseTypeMappings
protected static Properties databaseTypeMappings
ProcessEngineConfigurationImpl
public ProcessEngineConfigurationImpl()
buildProcessEngine
public ProcessEngine buildProcessEngine()
- Specified by:
buildProcessEngine in class ProcessEngineConfiguration
init
protected void init()
invokePreInit
protected void invokePreInit()
invokePostInit
protected void invokePostInit()
invokePostProcessEngineBuild
protected void invokePostProcessEngineBuild(ProcessEngine engine)
initFailedJobCommandFactory
protected void initFailedJobCommandFactory()
initIncidentHandlers
protected void initIncidentHandlers()
getDefaultCommandInterceptorsTxRequired
protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
getDefaultCommandInterceptorsTxRequiresNew
protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
initCommandExecutors
protected void initCommandExecutors()
initActualCommandExecutor
protected void initActualCommandExecutor()
initCommandInterceptorsTxRequired
protected void initCommandInterceptorsTxRequired()
initCommandInterceptorsTxRequiresNew
protected void initCommandInterceptorsTxRequiresNew()
initCommandExecutorTxRequired
protected void initCommandExecutorTxRequired()
initCommandExecutorTxRequiresNew
protected void initCommandExecutorTxRequiresNew()
initCommandExecutorDbSchemaOperations
protected void initCommandExecutorDbSchemaOperations()
initInterceptorChain
protected CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain)
initServices
protected void initServices()
initService
protected void initService(Object service)
initDataSource
protected void initDataSource()
getDefaultDatabaseTypeMappings
protected static Properties getDefaultDatabaseTypeMappings()
initDatabaseType
public void initDatabaseType()
initTransactionFactory
protected void initTransactionFactory()
initSqlSessionFactory
protected void initSqlSessionFactory()
getMyBatisXmlConfigurationSteam
protected InputStream getMyBatisXmlConfigurationSteam()
initIdentityProviderSessionFactory
protected void initIdentityProviderSessionFactory()
initSessionFactories
protected void initSessionFactories()
addSessionFactory
protected void addSessionFactory(SessionFactory sessionFactory)
initDeployers
protected void initDeployers()
getDefaultDeployers
protected Collection<? extends Deployer> getDefaultDeployers()
getDefaultBPMNParseListeners
protected List<BpmnParseListener> getDefaultBPMNParseListeners()
initJobExecutor
protected void initJobExecutor()
initMailScanner
protected void initMailScanner()
initHistoryLevel
public void initHistoryLevel()
initIdGenerator
protected void initIdGenerator()
initCommandContextFactory
protected void initCommandContextFactory()
initTransactionContextFactory
protected void initTransactionContextFactory()
initVariableTypes
protected void initVariableTypes()
initFormEngines
protected void initFormEngines()
initFormTypes
protected void initFormTypes()
initFormFieldValidators
protected void initFormFieldValidators()
initScriptingEngines
protected void initScriptingEngines()
initExpressionManager
protected void initExpressionManager()
initBusinessCalendarManager
protected void initBusinessCalendarManager()
initDelegateInterceptor
protected void initDelegateInterceptor()
initEventHandlers
protected void initEventHandlers()
initJpa
protected void initJpa()
initBeans
protected void initBeans()
initProcessApplicationManager
protected void initProcessApplicationManager()
initCorrelationHandler
protected void initCorrelationHandler()
initHistoryEventProducer
protected void initHistoryEventProducer()
initHistoryEventHandler
protected void initHistoryEventHandler()
initPasswordDigest
protected void initPasswordDigest()
initDeploymentRegistration
protected void initDeploymentRegistration()
initResourceAuthorizationProvider
protected void initResourceAuthorizationProvider()
getProcessEngineName
public String getProcessEngineName()
- Overrides:
getProcessEngineName in class ProcessEngineConfiguration
getHistoryLevel
public int getHistoryLevel()
setHistoryLevel
public void setHistoryLevel(int historyLevel)
setProcessEngineName
public ProcessEngineConfigurationImpl setProcessEngineName(String processEngineName)
- Overrides:
setProcessEngineName in class ProcessEngineConfiguration
getCustomPreCommandInterceptorsTxRequired
public List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequired()
setCustomPreCommandInterceptorsTxRequired
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequired(List<CommandInterceptor> customPreCommandInterceptorsTxRequired)
getCustomPostCommandInterceptorsTxRequired
public List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequired()
setCustomPostCommandInterceptorsTxRequired
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequired(List<CommandInterceptor> customPostCommandInterceptorsTxRequired)
getCommandInterceptorsTxRequired
public List<CommandInterceptor> getCommandInterceptorsTxRequired()
setCommandInterceptorsTxRequired
public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequired(List<CommandInterceptor> commandInterceptorsTxRequired)
getCommandExecutorTxRequired
public CommandExecutor getCommandExecutorTxRequired()
setCommandExecutorTxRequired
public ProcessEngineConfigurationImpl setCommandExecutorTxRequired(CommandExecutor commandExecutorTxRequired)
getCustomPreCommandInterceptorsTxRequiresNew
public List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequiresNew()
setCustomPreCommandInterceptorsTxRequiresNew
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew)
getCustomPostCommandInterceptorsTxRequiresNew
public List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequiresNew()
setCustomPostCommandInterceptorsTxRequiresNew
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew)
getCommandInterceptorsTxRequiresNew
public List<CommandInterceptor> getCommandInterceptorsTxRequiresNew()
setCommandInterceptorsTxRequiresNew
public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequiresNew(List<CommandInterceptor> commandInterceptorsTxRequiresNew)
getCommandExecutorTxRequiresNew
public CommandExecutor getCommandExecutorTxRequiresNew()
setCommandExecutorTxRequiresNew
public ProcessEngineConfigurationImpl setCommandExecutorTxRequiresNew(CommandExecutor commandExecutorTxRequiresNew)
getRepositoryService
public RepositoryService getRepositoryService()
setRepositoryService
public ProcessEngineConfigurationImpl setRepositoryService(RepositoryService repositoryService)
getRuntimeService
public RuntimeService getRuntimeService()
setRuntimeService
public ProcessEngineConfigurationImpl setRuntimeService(RuntimeService runtimeService)
getHistoryService
public HistoryService getHistoryService()
setHistoryService
public ProcessEngineConfigurationImpl setHistoryService(HistoryService historyService)
getIdentityService
public IdentityService getIdentityService()
setIdentityService
public ProcessEngineConfigurationImpl setIdentityService(IdentityService identityService)
getTaskService
public TaskService getTaskService()
setTaskService
public ProcessEngineConfigurationImpl setTaskService(TaskService taskService)
getFormService
public FormService getFormService()
setFormService
public ProcessEngineConfigurationImpl setFormService(FormService formService)
getManagementService
public ManagementService getManagementService()
getAuthorizationService
public AuthorizationService getAuthorizationService()
setManagementService
public ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)
getSessionFactories
public Map<Class<?>,SessionFactory> getSessionFactories()
setSessionFactories
public ProcessEngineConfigurationImpl setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)
getDeployers
public List<Deployer> getDeployers()
setDeployers
public ProcessEngineConfigurationImpl setDeployers(List<Deployer> deployers)
getJobExecutor
public JobExecutor getJobExecutor()
setJobExecutor
public ProcessEngineConfigurationImpl setJobExecutor(JobExecutor jobExecutor)
getIdGenerator
public IdGenerator getIdGenerator()
setIdGenerator
public ProcessEngineConfigurationImpl setIdGenerator(IdGenerator idGenerator)
getWsSyncFactoryClassName
public String getWsSyncFactoryClassName()
setWsSyncFactoryClassName
public ProcessEngineConfigurationImpl setWsSyncFactoryClassName(String wsSyncFactoryClassName)
getFormEngines
public Map<String,FormEngine> getFormEngines()
setFormEngines
public ProcessEngineConfigurationImpl setFormEngines(Map<String,FormEngine> formEngines)
getFormTypes
public FormTypes getFormTypes()
setFormTypes
public ProcessEngineConfigurationImpl setFormTypes(FormTypes formTypes)
getScriptingEngines
public ScriptingEngines getScriptingEngines()
setScriptingEngines
public ProcessEngineConfigurationImpl setScriptingEngines(ScriptingEngines scriptingEngines)
getVariableTypes
public VariableTypes getVariableTypes()
setVariableTypes
public ProcessEngineConfigurationImpl setVariableTypes(VariableTypes variableTypes)
getExpressionManager
public ExpressionManager getExpressionManager()
setExpressionManager
public ProcessEngineConfigurationImpl setExpressionManager(ExpressionManager expressionManager)
getBusinessCalendarManager
public BusinessCalendarManager getBusinessCalendarManager()
setBusinessCalendarManager
public ProcessEngineConfigurationImpl setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager)
getCommandContextFactory
public CommandContextFactory getCommandContextFactory()
setCommandContextFactory
public ProcessEngineConfigurationImpl setCommandContextFactory(CommandContextFactory commandContextFactory)
getTransactionContextFactory
public TransactionContextFactory getTransactionContextFactory()
setTransactionContextFactory
public ProcessEngineConfigurationImpl setTransactionContextFactory(TransactionContextFactory transactionContextFactory)
getCustomPreDeployers
public List<Deployer> getCustomPreDeployers()
setCustomPreDeployers
public ProcessEngineConfigurationImpl setCustomPreDeployers(List<Deployer> customPreDeployers)
getCustomPostDeployers
public List<Deployer> getCustomPostDeployers()
setCustomPostDeployers
public ProcessEngineConfigurationImpl setCustomPostDeployers(List<Deployer> customPostDeployers)
getJobHandlers
public Map<String,JobHandler> getJobHandlers()
setJobHandlers
public ProcessEngineConfigurationImpl setJobHandlers(Map<String,JobHandler> jobHandlers)
getSqlSessionFactory
public org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
setSqlSessionFactory
public ProcessEngineConfigurationImpl setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
getDbSqlSessionFactory
public DbSqlSessionFactory getDbSqlSessionFactory()
setDbSqlSessionFactory
public ProcessEngineConfigurationImpl setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory)
getTransactionFactory
public org.apache.ibatis.transaction.TransactionFactory getTransactionFactory()
setTransactionFactory
public ProcessEngineConfigurationImpl setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory)
getCustomSessionFactories
public List<SessionFactory> getCustomSessionFactories()
setCustomSessionFactories
public ProcessEngineConfigurationImpl setCustomSessionFactories(List<SessionFactory> customSessionFactories)
getCustomJobHandlers
public List<JobHandler> getCustomJobHandlers()
setCustomJobHandlers
public ProcessEngineConfigurationImpl setCustomJobHandlers(List<JobHandler> customJobHandlers)
getCustomFormEngines
public List<FormEngine> getCustomFormEngines()
setCustomFormEngines
public ProcessEngineConfigurationImpl setCustomFormEngines(List<FormEngine> customFormEngines)
getCustomFormTypes
public List<AbstractFormFieldType> getCustomFormTypes()
setCustomFormTypes
public ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormFieldType> customFormTypes)
getCustomScriptingEngineClasses
public List<String> getCustomScriptingEngineClasses()
setCustomScriptingEngineClasses
public ProcessEngineConfigurationImpl setCustomScriptingEngineClasses(List<String> customScriptingEngineClasses)
getCustomPreVariableTypes
public List<VariableType> getCustomPreVariableTypes()
setCustomPreVariableTypes
public ProcessEngineConfigurationImpl setCustomPreVariableTypes(List<VariableType> customPreVariableTypes)
getCustomPostVariableTypes
public List<VariableType> getCustomPostVariableTypes()
setCustomPostVariableTypes
public ProcessEngineConfigurationImpl setCustomPostVariableTypes(List<VariableType> customPostVariableTypes)
getCustomPreBPMNParseListeners
public List<BpmnParseListener> getCustomPreBPMNParseListeners()
setCustomPreBPMNParseListeners
public void setCustomPreBPMNParseListeners(List<BpmnParseListener> preParseListeners)
getCustomPostBPMNParseListeners
public List<BpmnParseListener> getCustomPostBPMNParseListeners()
setCustomPostBPMNParseListeners
public void setCustomPostBPMNParseListeners(List<BpmnParseListener> postParseListeners)
getPreParseListeners
public List<BpmnParseListener> getPreParseListeners()
setPreParseListeners
public void setPreParseListeners(List<BpmnParseListener> preParseListeners)
getPostParseListeners
public List<BpmnParseListener> getPostParseListeners()
setPostParseListeners
public void setPostParseListeners(List<BpmnParseListener> postParseListeners)
getBeans
public Map<Object,Object> getBeans()
setBeans
public void setBeans(Map<Object,Object> beans)
setClassLoader
public ProcessEngineConfigurationImpl setClassLoader(ClassLoader classLoader)
- Overrides:
setClassLoader in class ProcessEngineConfiguration
setDatabaseType
public ProcessEngineConfigurationImpl setDatabaseType(String databaseType)
- Overrides:
setDatabaseType in class ProcessEngineConfiguration
setDataSource
public ProcessEngineConfigurationImpl setDataSource(DataSource dataSource)
- Overrides:
setDataSource in class ProcessEngineConfiguration
setDatabaseSchemaUpdate
public ProcessEngineConfigurationImpl setDatabaseSchemaUpdate(String databaseSchemaUpdate)
- Overrides:
setDatabaseSchemaUpdate in class ProcessEngineConfiguration
setHistory
public ProcessEngineConfigurationImpl setHistory(String history)
- Overrides:
setHistory in class ProcessEngineConfiguration
setIdBlockSize
public ProcessEngineConfigurationImpl setIdBlockSize(int idBlockSize)
- Overrides:
setIdBlockSize in class ProcessEngineConfiguration
setJdbcDriver
public ProcessEngineConfigurationImpl setJdbcDriver(String jdbcDriver)
- Overrides:
setJdbcDriver in class ProcessEngineConfiguration
setJdbcPassword
public ProcessEngineConfigurationImpl setJdbcPassword(String jdbcPassword)
- Overrides:
setJdbcPassword in class ProcessEngineConfiguration
setJdbcUrl
public ProcessEngineConfigurationImpl setJdbcUrl(String jdbcUrl)
- Overrides:
setJdbcUrl in class ProcessEngineConfiguration
setJdbcUsername
public ProcessEngineConfigurationImpl setJdbcUsername(String jdbcUsername)
- Overrides:
setJdbcUsername in class ProcessEngineConfiguration
setJobExecutorActivate
public ProcessEngineConfigurationImpl setJobExecutorActivate(boolean jobExecutorActivate)
- Overrides:
setJobExecutorActivate in class ProcessEngineConfiguration
setMailServerDefaultFrom
public ProcessEngineConfigurationImpl setMailServerDefaultFrom(String mailServerDefaultFrom)
- Overrides:
setMailServerDefaultFrom in class ProcessEngineConfiguration
setMailServerHost
public ProcessEngineConfigurationImpl setMailServerHost(String mailServerHost)
- Overrides:
setMailServerHost in class ProcessEngineConfiguration
setMailServerPassword
public ProcessEngineConfigurationImpl setMailServerPassword(String mailServerPassword)
- Overrides:
setMailServerPassword in class ProcessEngineConfiguration
setMailServerPort
public ProcessEngineConfigurationImpl setMailServerPort(int mailServerPort)
- Overrides:
setMailServerPort in class ProcessEngineConfiguration
setMailServerUseTLS
public ProcessEngineConfigurationImpl setMailServerUseTLS(boolean useTLS)
- Overrides:
setMailServerUseTLS in class ProcessEngineConfiguration
setMailServerUsername
public ProcessEngineConfigurationImpl setMailServerUsername(String mailServerUsername)
- Overrides:
setMailServerUsername in class ProcessEngineConfiguration
setJdbcMaxActiveConnections
public ProcessEngineConfigurationImpl setJdbcMaxActiveConnections(int jdbcMaxActiveConnections)
- Overrides:
setJdbcMaxActiveConnections in class ProcessEngineConfiguration
setJdbcMaxCheckoutTime
public ProcessEngineConfigurationImpl setJdbcMaxCheckoutTime(int jdbcMaxCheckoutTime)
- Overrides:
setJdbcMaxCheckoutTime in class ProcessEngineConfiguration
setJdbcMaxIdleConnections
public ProcessEngineConfigurationImpl setJdbcMaxIdleConnections(int jdbcMaxIdleConnections)
- Overrides:
setJdbcMaxIdleConnections in class ProcessEngineConfiguration
setJdbcMaxWaitTime
public ProcessEngineConfigurationImpl setJdbcMaxWaitTime(int jdbcMaxWaitTime)
- Overrides:
setJdbcMaxWaitTime in class ProcessEngineConfiguration
setTransactionsExternallyManaged
public ProcessEngineConfigurationImpl setTransactionsExternallyManaged(boolean transactionsExternallyManaged)
- Overrides:
setTransactionsExternallyManaged in class ProcessEngineConfiguration
setJpaEntityManagerFactory
public ProcessEngineConfigurationImpl setJpaEntityManagerFactory(Object jpaEntityManagerFactory)
- Overrides:
setJpaEntityManagerFactory in class ProcessEngineConfiguration
setJpaHandleTransaction
public ProcessEngineConfigurationImpl setJpaHandleTransaction(boolean jpaHandleTransaction)
- Overrides:
setJpaHandleTransaction in class ProcessEngineConfiguration
setJpaCloseEntityManager
public ProcessEngineConfigurationImpl setJpaCloseEntityManager(boolean jpaCloseEntityManager)
- Overrides:
setJpaCloseEntityManager in class ProcessEngineConfiguration
setJdbcPingEnabled
public ProcessEngineConfigurationImpl setJdbcPingEnabled(boolean jdbcPingEnabled)
- Overrides:
setJdbcPingEnabled in class ProcessEngineConfiguration
setJdbcPingQuery
public ProcessEngineConfigurationImpl setJdbcPingQuery(String jdbcPingQuery)
- Overrides:
setJdbcPingQuery in class ProcessEngineConfiguration
setJdbcPingConnectionNotUsedFor
public ProcessEngineConfigurationImpl setJdbcPingConnectionNotUsedFor(int jdbcPingNotUsedFor)
- Overrides:
setJdbcPingConnectionNotUsedFor in class ProcessEngineConfiguration
isDbIdentityUsed
public boolean isDbIdentityUsed()
setDbIdentityUsed
public void setDbIdentityUsed(boolean isDbIdentityUsed)
isDbHistoryUsed
public boolean isDbHistoryUsed()
setDbHistoryUsed
public void setDbHistoryUsed(boolean isDbHistoryUsed)
getResolverFactories
public List<ResolverFactory> getResolverFactories()
setResolverFactories
public void setResolverFactories(List<ResolverFactory> resolverFactories)
getMailScanner
public MailScanner getMailScanner()
setMailScanner
public void setMailScanner(MailScanner mailScanner)
getDeploymentCache
public DeploymentCache getDeploymentCache()
setDeploymentCache
public void setDeploymentCache(DeploymentCache deploymentCache)
setDelegateInterceptor
public ProcessEngineConfigurationImpl setDelegateInterceptor(DelegateInterceptor delegateInterceptor)
getDelegateInterceptor
public DelegateInterceptor getDelegateInterceptor()
getCustomRejectedJobsHandler
public RejectedJobsHandler getCustomRejectedJobsHandler()
setCustomRejectedJobsHandler
public ProcessEngineConfigurationImpl setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler)
getEventHandler
public EventHandler getEventHandler(String eventType)
setEventHandlers
public void setEventHandlers(Map<String,EventHandler> eventHandlers)
getEventHandlers
public Map<String,EventHandler> getEventHandlers()
getCustomEventHandlers
public List<EventHandler> getCustomEventHandlers()
setCustomEventHandlers
public void setCustomEventHandlers(List<EventHandler> customEventHandlers)
getFailedJobCommandFactory
public FailedJobCommandFactory getFailedJobCommandFactory()
setFailedJobCommandFactory
public ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)
setDatabaseTablePrefix
public ProcessEngineConfiguration setDatabaseTablePrefix(String databaseTablePrefix)
- Allows configuring a database table prefix which is used for all runtime operations of the process engine.
For example, if you specify a prefix named 'PRE1.', activiti will query for executions in a table named
'PRE1.ACT_RU_EXECUTION_'.
NOTE: the prefix is not respected by automatic database schema management. If you use
ProcessEngineConfiguration.DB_SCHEMA_UPDATE_CREATE_DROP
or ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE, activiti will create the database tables
using the default names, regardless of the prefix configured here.
- Since:
- 5.9
getDatabaseTablePrefix
public String getDatabaseTablePrefix()
isCreateDiagramOnDeploy
public boolean isCreateDiagramOnDeploy()
setCreateDiagramOnDeploy
public ProcessEngineConfiguration setCreateDiagramOnDeploy(boolean createDiagramOnDeploy)
getDatabaseSchema
public String getDatabaseSchema()
setDatabaseSchema
public void setDatabaseSchema(String databaseSchema)
getIdGeneratorDataSource
public DataSource getIdGeneratorDataSource()
setIdGeneratorDataSource
public void setIdGeneratorDataSource(DataSource idGeneratorDataSource)
getIdGeneratorDataSourceJndiName
public String getIdGeneratorDataSourceJndiName()
setIdGeneratorDataSourceJndiName
public void setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)
getProcessApplicationManager
public ProcessApplicationManager getProcessApplicationManager()
setProcessApplicationManager
public void setProcessApplicationManager(ProcessApplicationManager processApplicationManager)
getCommandExecutorSchemaOperations
public CommandExecutor getCommandExecutorSchemaOperations()
setCommandExecutorSchemaOperations
public void setCommandExecutorSchemaOperations(CommandExecutor commandExecutorSchemaOperations)
getCorrelationHandler
public CorrelationHandler getCorrelationHandler()
setCorrelationHandler
public void setCorrelationHandler(CorrelationHandler correlationHandler)
setHistoryEventHandler
public ProcessEngineConfigurationImpl setHistoryEventHandler(HistoryEventHandler historyEventHandler)
getHistoryEventHandler
public HistoryEventHandler getHistoryEventHandler()
getIncidentHandler
public IncidentHandler getIncidentHandler(String incidentType)
getIncidentHandlers
public Map<String,IncidentHandler> getIncidentHandlers()
setIncidentHandlers
public void setIncidentHandlers(Map<String,IncidentHandler> incidentHandlers)
getCustomIncidentHandlers
public List<IncidentHandler> getCustomIncidentHandlers()
setCustomIncidentHandlers
public void setCustomIncidentHandlers(List<IncidentHandler> customIncidentHandlers)
getIdentityProviderSessionFactory
public SessionFactory getIdentityProviderSessionFactory()
setIdentityProviderSessionFactory
public void setIdentityProviderSessionFactory(SessionFactory identityProviderSessionFactory)
setPasswordEncryptor
public void setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
getPasswordEncryptor
public PasswordEncryptor getPasswordEncryptor()
getRegisteredDeployments
public Set<String> getRegisteredDeployments()
setRegisteredDeployments
public void setRegisteredDeployments(Set<String> registeredDeployments)
getResourceAuthorizationProvider
public ResourceAuthorizationProvider getResourceAuthorizationProvider()
setResourceAuthorizationProvider
public void setResourceAuthorizationProvider(ResourceAuthorizationProvider resourceAuthorizationProvider)
getProcessEnginePlugins
public List<ProcessEnginePlugin> getProcessEnginePlugins()
setProcessEnginePlugins
public void setProcessEnginePlugins(List<ProcessEnginePlugin> processEnginePlugins)
setHistoryEventProducer
public ProcessEngineConfigurationImpl setHistoryEventProducer(HistoryEventProducer historyEventProducerFactory)
getHistoryEventProducer
public HistoryEventProducer getHistoryEventProducer()
getCustomFormFieldValidators
public Map<String,Class<? extends FormFieldValidator>> getCustomFormFieldValidators()
setCustomFormFieldValidators
public void setCustomFormFieldValidators(Map<String,Class<? extends FormFieldValidator>> customFormFieldValidators)
setFormValidators
public void setFormValidators(FormValidators formValidators)
getFormValidators
public FormValidators getFormValidators()
isExecutionTreePrefetchEnabled
public boolean isExecutionTreePrefetchEnabled()
setExecutionTreePrefetchEnabled
public void setExecutionTreePrefetchEnabled(boolean isExecutionTreePrefetchingEnabled)
getProcessEngine
public ProcessEngineImpl getProcessEngine()
Copyright © 2014 camunda services GmbH. All Rights Reserved.