public abstract class ProcessEngineConfigurationImpl extends 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| Constructor and Description |
|---|
ProcessEngineConfigurationImpl() |
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, setJpaPersistenceUnitNamepublic static final String DB_SCHEMA_UPDATE_CREATE
public static final String DB_SCHEMA_UPDATE_DROP_CREATE
public static final int HISTORYLEVEL_NONE
public static final int HISTORYLEVEL_ACTIVITY
public static final int HISTORYLEVEL_AUDIT
public static final int HISTORYLEVEL_FULL
public static final String DEFAULT_WS_SYNC_FACTORY
public static final String DEFAULT_MYBATIS_MAPPING_FILE
protected RepositoryService repositoryService
protected RuntimeService runtimeService
protected HistoryService historyService
protected IdentityService identityService
protected TaskService taskService
protected FormService formService
protected ManagementService managementService
protected AuthorizationService authorizationService
protected List<CommandInterceptor> customPreCommandInterceptorsTxRequired
processed to build the commandExecutorTxRequiredprotected List<CommandInterceptor> customPostCommandInterceptorsTxRequired
protected List<CommandInterceptor> commandInterceptorsTxRequired
protected CommandExecutor commandExecutorTxRequired
protected List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew
processed to build the commandExecutorTxRequiresNewprotected List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew
protected List<CommandInterceptor> commandInterceptorsTxRequiresNew
protected CommandExecutor commandExecutorTxRequiresNew
protected CommandExecutor commandExecutorSchemaOperations
protected List<SessionFactory> customSessionFactories
protected DbSqlSessionFactory dbSqlSessionFactory
protected Map<Class<?>,SessionFactory> sessionFactories
protected DeploymentCache deploymentCache
protected List<JobHandler> customJobHandlers
protected Map<String,JobHandler> jobHandlers
protected JobExecutor jobExecutor
protected MailScanner mailScanner
protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory
protected org.apache.ibatis.transaction.TransactionFactory transactionFactory
protected IdGenerator idGenerator
protected DataSource idGeneratorDataSource
protected String idGeneratorDataSourceJndiName
protected Map<String,IncidentHandler> incidentHandlers
protected List<IncidentHandler> customIncidentHandlers
protected List<FormEngine> customFormEngines
protected Map<String,FormEngine> formEngines
protected List<AbstractFormType> customFormTypes
protected FormTypes formTypes
protected List<VariableType> customPreVariableTypes
protected List<VariableType> customPostVariableTypes
protected VariableTypes variableTypes
protected ExpressionManager expressionManager
protected ScriptingEngines scriptingEngines
protected List<ResolverFactory> resolverFactories
protected BusinessCalendarManager businessCalendarManager
protected String wsSyncFactoryClassName
protected CommandContextFactory commandContextFactory
protected TransactionContextFactory transactionContextFactory
protected BpmnParseFactory bpmnParseFactory
protected int historyLevel
protected List<BpmnParseListener> preParseListeners
protected List<BpmnParseListener> postParseListeners
protected boolean isDbIdentityUsed
protected boolean isDbHistoryUsed
protected DelegateInterceptor delegateInterceptor
protected CommandInterceptor actualCommandExecutor
protected RejectedJobsHandler customRejectedJobsHandler
protected Map<String,EventHandler> eventHandlers
protected List<EventHandler> customEventHandlers
protected FailedJobCommandFactory failedJobCommandFactory
protected String databaseTablePrefix
protected String databaseSchema
protected boolean isCreateDiagramOnDeploy
protected ProcessApplicationManager processApplicationManager
protected CorrelationHandler correlationHandler
protected SessionFactory identityProviderSessionFactory
protected PasswordEncryptor passwordEncryptor
protected ResourceAuthorizationProvider resourceAuthorizationProvider
protected List<ProcessEnginePlugin> processEnginePlugins
protected HistoryEventProducer historyEventProducer
protected HistoryEventHandler historyEventHandler
protected static Properties databaseTypeMappings
public ProcessEngine buildProcessEngine()
buildProcessEngine in class ProcessEngineConfigurationprotected void init()
protected void invokePreInit()
protected void invokePostInit()
protected void invokePostProcessEngineBuild(ProcessEngine engine)
protected void initFailedJobCommandFactory()
protected void initIncidentHandlers()
protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
protected void initCommandExecutors()
protected void initActualCommandExecutor()
protected void initCommandInterceptorsTxRequired()
protected void initCommandInterceptorsTxRequiresNew()
protected void initCommandExecutorTxRequired()
protected void initCommandExecutorTxRequiresNew()
protected void initCommandExecutorDbSchemaOperations()
protected CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain)
protected void initServices()
protected void initService(Object service)
protected void initDataSource()
protected static Properties getDefaultDatabaseTypeMappings()
public void initDatabaseType()
protected void initTransactionFactory()
protected void initSqlSessionFactory()
protected InputStream getMyBatisXmlConfigurationSteam()
protected void initIdentityProviderSessionFactory()
protected void initSessionFactories()
protected void addSessionFactory(SessionFactory sessionFactory)
protected void initDeployers()
protected Collection<? extends Deployer> getDefaultDeployers()
protected List<BpmnParseListener> getDefaultBPMNParseListeners()
protected void initJobExecutor()
protected void initMailScanner()
public void initHistoryLevel()
protected void initIdGenerator()
protected void initCommandContextFactory()
protected void initTransactionContextFactory()
protected void initVariableTypes()
protected void initFormEngines()
protected void initFormTypes()
protected void initScriptingEngines()
protected void initExpressionManager()
protected void initBusinessCalendarManager()
protected void initDelegateInterceptor()
protected void initEventHandlers()
protected void initJpa()
protected void initBeans()
protected void initProcessApplicationManager()
protected void initCorrelationHandler()
protected void initHistoryEventProducer()
protected void initHistoryEventHandler()
protected void initPasswordDigest()
protected void initDeploymentRegistration()
protected void initResourceAuthorizationProvider()
public String getProcessEngineName()
getProcessEngineName in class ProcessEngineConfigurationpublic int getHistoryLevel()
public void setHistoryLevel(int historyLevel)
public ProcessEngineConfigurationImpl setProcessEngineName(String processEngineName)
setProcessEngineName in class ProcessEngineConfigurationpublic List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequired()
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequired(List<CommandInterceptor> customPreCommandInterceptorsTxRequired)
public List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequired()
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequired(List<CommandInterceptor> customPostCommandInterceptorsTxRequired)
public List<CommandInterceptor> getCommandInterceptorsTxRequired()
public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequired(List<CommandInterceptor> commandInterceptorsTxRequired)
public CommandExecutor getCommandExecutorTxRequired()
public ProcessEngineConfigurationImpl setCommandExecutorTxRequired(CommandExecutor commandExecutorTxRequired)
public List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequiresNew()
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew)
public List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequiresNew()
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew)
public List<CommandInterceptor> getCommandInterceptorsTxRequiresNew()
public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequiresNew(List<CommandInterceptor> commandInterceptorsTxRequiresNew)
public CommandExecutor getCommandExecutorTxRequiresNew()
public ProcessEngineConfigurationImpl setCommandExecutorTxRequiresNew(CommandExecutor commandExecutorTxRequiresNew)
public RepositoryService getRepositoryService()
public ProcessEngineConfigurationImpl setRepositoryService(RepositoryService repositoryService)
public RuntimeService getRuntimeService()
public ProcessEngineConfigurationImpl setRuntimeService(RuntimeService runtimeService)
public HistoryService getHistoryService()
public ProcessEngineConfigurationImpl setHistoryService(HistoryService historyService)
public IdentityService getIdentityService()
public ProcessEngineConfigurationImpl setIdentityService(IdentityService identityService)
public TaskService getTaskService()
public ProcessEngineConfigurationImpl setTaskService(TaskService taskService)
public FormService getFormService()
public ProcessEngineConfigurationImpl setFormService(FormService formService)
public ManagementService getManagementService()
public AuthorizationService getAuthorizationService()
public ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)
public Map<Class<?>,SessionFactory> getSessionFactories()
public ProcessEngineConfigurationImpl setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)
public ProcessEngineConfigurationImpl setDeployers(List<Deployer> deployers)
public JobExecutor getJobExecutor()
public ProcessEngineConfigurationImpl setJobExecutor(JobExecutor jobExecutor)
public IdGenerator getIdGenerator()
public ProcessEngineConfigurationImpl setIdGenerator(IdGenerator idGenerator)
public String getWsSyncFactoryClassName()
public ProcessEngineConfigurationImpl setWsSyncFactoryClassName(String wsSyncFactoryClassName)
public Map<String,FormEngine> getFormEngines()
public ProcessEngineConfigurationImpl setFormEngines(Map<String,FormEngine> formEngines)
public FormTypes getFormTypes()
public ProcessEngineConfigurationImpl setFormTypes(FormTypes formTypes)
public ScriptingEngines getScriptingEngines()
public ProcessEngineConfigurationImpl setScriptingEngines(ScriptingEngines scriptingEngines)
public VariableTypes getVariableTypes()
public ProcessEngineConfigurationImpl setVariableTypes(VariableTypes variableTypes)
public ExpressionManager getExpressionManager()
public ProcessEngineConfigurationImpl setExpressionManager(ExpressionManager expressionManager)
public BusinessCalendarManager getBusinessCalendarManager()
public ProcessEngineConfigurationImpl setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager)
public CommandContextFactory getCommandContextFactory()
public ProcessEngineConfigurationImpl setCommandContextFactory(CommandContextFactory commandContextFactory)
public TransactionContextFactory getTransactionContextFactory()
public ProcessEngineConfigurationImpl setTransactionContextFactory(TransactionContextFactory transactionContextFactory)
public ProcessEngineConfigurationImpl setCustomPreDeployers(List<Deployer> customPreDeployers)
public ProcessEngineConfigurationImpl setCustomPostDeployers(List<Deployer> customPostDeployers)
public Map<String,JobHandler> getJobHandlers()
public ProcessEngineConfigurationImpl setJobHandlers(Map<String,JobHandler> jobHandlers)
public org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
public ProcessEngineConfigurationImpl setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
public DbSqlSessionFactory getDbSqlSessionFactory()
public ProcessEngineConfigurationImpl setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory)
public org.apache.ibatis.transaction.TransactionFactory getTransactionFactory()
public ProcessEngineConfigurationImpl setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory)
public List<SessionFactory> getCustomSessionFactories()
public ProcessEngineConfigurationImpl setCustomSessionFactories(List<SessionFactory> customSessionFactories)
public List<JobHandler> getCustomJobHandlers()
public ProcessEngineConfigurationImpl setCustomJobHandlers(List<JobHandler> customJobHandlers)
public List<FormEngine> getCustomFormEngines()
public ProcessEngineConfigurationImpl setCustomFormEngines(List<FormEngine> customFormEngines)
public List<AbstractFormType> getCustomFormTypes()
public ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormType> customFormTypes)
public ProcessEngineConfigurationImpl setCustomScriptingEngineClasses(List<String> customScriptingEngineClasses)
public List<VariableType> getCustomPreVariableTypes()
public ProcessEngineConfigurationImpl setCustomPreVariableTypes(List<VariableType> customPreVariableTypes)
public List<VariableType> getCustomPostVariableTypes()
public ProcessEngineConfigurationImpl setCustomPostVariableTypes(List<VariableType> customPostVariableTypes)
public List<BpmnParseListener> getCustomPreBPMNParseListeners()
public void setCustomPreBPMNParseListeners(List<BpmnParseListener> preParseListeners)
public List<BpmnParseListener> getCustomPostBPMNParseListeners()
public void setCustomPostBPMNParseListeners(List<BpmnParseListener> postParseListeners)
public List<BpmnParseListener> getPreParseListeners()
public void setPreParseListeners(List<BpmnParseListener> preParseListeners)
public List<BpmnParseListener> getPostParseListeners()
public void setPostParseListeners(List<BpmnParseListener> postParseListeners)
public ProcessEngineConfigurationImpl setClassLoader(ClassLoader classLoader)
setClassLoader in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setDatabaseType(String databaseType)
setDatabaseType in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setDataSource(DataSource dataSource)
setDataSource in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setDatabaseSchemaUpdate(String databaseSchemaUpdate)
setDatabaseSchemaUpdate in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setHistory(String history)
setHistory in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setIdBlockSize(int idBlockSize)
setIdBlockSize in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcDriver(String jdbcDriver)
setJdbcDriver in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcPassword(String jdbcPassword)
setJdbcPassword in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcUrl(String jdbcUrl)
setJdbcUrl in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcUsername(String jdbcUsername)
setJdbcUsername in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJobExecutorActivate(boolean jobExecutorActivate)
setJobExecutorActivate in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setMailServerDefaultFrom(String mailServerDefaultFrom)
setMailServerDefaultFrom in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setMailServerHost(String mailServerHost)
setMailServerHost in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setMailServerPassword(String mailServerPassword)
setMailServerPassword in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setMailServerPort(int mailServerPort)
setMailServerPort in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setMailServerUseTLS(boolean useTLS)
setMailServerUseTLS in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setMailServerUsername(String mailServerUsername)
setMailServerUsername in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcMaxActiveConnections(int jdbcMaxActiveConnections)
setJdbcMaxActiveConnections in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcMaxCheckoutTime(int jdbcMaxCheckoutTime)
setJdbcMaxCheckoutTime in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcMaxIdleConnections(int jdbcMaxIdleConnections)
setJdbcMaxIdleConnections in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcMaxWaitTime(int jdbcMaxWaitTime)
setJdbcMaxWaitTime in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setTransactionsExternallyManaged(boolean transactionsExternallyManaged)
setTransactionsExternallyManaged in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJpaEntityManagerFactory(Object jpaEntityManagerFactory)
setJpaEntityManagerFactory in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJpaHandleTransaction(boolean jpaHandleTransaction)
setJpaHandleTransaction in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJpaCloseEntityManager(boolean jpaCloseEntityManager)
setJpaCloseEntityManager in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcPingEnabled(boolean jdbcPingEnabled)
setJdbcPingEnabled in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcPingQuery(String jdbcPingQuery)
setJdbcPingQuery in class ProcessEngineConfigurationpublic ProcessEngineConfigurationImpl setJdbcPingConnectionNotUsedFor(int jdbcPingNotUsedFor)
setJdbcPingConnectionNotUsedFor in class ProcessEngineConfigurationpublic boolean isDbIdentityUsed()
public void setDbIdentityUsed(boolean isDbIdentityUsed)
public boolean isDbHistoryUsed()
public void setDbHistoryUsed(boolean isDbHistoryUsed)
public List<ResolverFactory> getResolverFactories()
public void setResolverFactories(List<ResolverFactory> resolverFactories)
public MailScanner getMailScanner()
public void setMailScanner(MailScanner mailScanner)
public DeploymentCache getDeploymentCache()
public void setDeploymentCache(DeploymentCache deploymentCache)
public ProcessEngineConfigurationImpl setDelegateInterceptor(DelegateInterceptor delegateInterceptor)
public DelegateInterceptor getDelegateInterceptor()
public RejectedJobsHandler getCustomRejectedJobsHandler()
public ProcessEngineConfigurationImpl setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler)
public EventHandler getEventHandler(String eventType)
public void setEventHandlers(Map<String,EventHandler> eventHandlers)
public Map<String,EventHandler> getEventHandlers()
public List<EventHandler> getCustomEventHandlers()
public void setCustomEventHandlers(List<EventHandler> customEventHandlers)
public FailedJobCommandFactory getFailedJobCommandFactory()
public ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)
public ProcessEngineConfiguration setDatabaseTablePrefix(String databaseTablePrefix)
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.public String getDatabaseTablePrefix()
public boolean isCreateDiagramOnDeploy()
public ProcessEngineConfiguration setCreateDiagramOnDeploy(boolean createDiagramOnDeploy)
public String getDatabaseSchema()
public void setDatabaseSchema(String databaseSchema)
public DataSource getIdGeneratorDataSource()
public void setIdGeneratorDataSource(DataSource idGeneratorDataSource)
public String getIdGeneratorDataSourceJndiName()
public void setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)
public ProcessApplicationManager getProcessApplicationManager()
public void setProcessApplicationManager(ProcessApplicationManager processApplicationManager)
public CommandExecutor getCommandExecutorSchemaOperations()
public void setCommandExecutorSchemaOperations(CommandExecutor commandExecutorSchemaOperations)
public CorrelationHandler getCorrelationHandler()
public void setCorrelationHandler(CorrelationHandler correlationHandler)
public ProcessEngineConfigurationImpl setHistoryEventHandler(HistoryEventHandler historyEventHandler)
public HistoryEventHandler getHistoryEventHandler()
public IncidentHandler getIncidentHandler(String incidentType)
public Map<String,IncidentHandler> getIncidentHandlers()
public void setIncidentHandlers(Map<String,IncidentHandler> incidentHandlers)
public List<IncidentHandler> getCustomIncidentHandlers()
public void setCustomIncidentHandlers(List<IncidentHandler> customIncidentHandlers)
public SessionFactory getIdentityProviderSessionFactory()
public void setIdentityProviderSessionFactory(SessionFactory identityProviderSessionFactory)
public void setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
public PasswordEncryptor getPasswordEncryptor()
public ResourceAuthorizationProvider getResourceAuthorizationProvider()
public void setResourceAuthorizationProvider(ResourceAuthorizationProvider resourceAuthorizationProvider)
public List<ProcessEnginePlugin> getProcessEnginePlugins()
public void setProcessEnginePlugins(List<ProcessEnginePlugin> processEnginePlugins)
public ProcessEngineConfigurationImpl setHistoryEventProducer(HistoryEventProducer historyEventProducerFactory)
public HistoryEventProducer getHistoryEventProducer()
Copyright © 2015. All rights reserved.