org.activiti.engine.impl.cfg
类 ProcessEngineConfigurationImpl

java.lang.Object
  继承者 org.activiti.engine.ProcessEngineConfiguration
      继承者 org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl
所有已实现的接口:
EngineServices
直接已知子类:
JtaProcessEngineConfiguration, StandaloneProcessEngineConfiguration

public abstract class ProcessEngineConfigurationImpl
extends ProcessEngineConfiguration

作者:
Tom Baeyens, Joram Barrez

字段摘要
protected  ActivityBehaviorFactory activityBehaviorFactory
           
protected  int batchSizeProcessInstances
          The following settings will determine the amount of entities loaded at once when the engine needs to load multiple entities (eg. when suspending a process definition with all its process instances).
protected  int batchSizeTasks
           
protected  Map<Object,Object> beans
           
protected  BpmnDeployer bpmnDeployer
           
protected  BpmnParseFactory bpmnParseFactory
           
protected  BpmnParser bpmnParser
           
protected  BusinessCalendarManager businessCalendarManager
           
protected  CommandContextFactory commandContextFactory
           
protected  CommandExecutor commandExecutor
          this will be initialized during the configurationComplete()
protected  List<CommandInterceptor> commandInterceptors
           
protected  CommandInterceptor commandInvoker
           
protected  List<ProcessEngineConfigurator> configurators
           
protected  List<BpmnParseHandler> customDefaultBpmnParseHandlers
           
protected  List<EventHandler> customEventHandlers
           
protected  List<FormEngine> customFormEngines
           
protected  List<AbstractFormType> customFormTypes
           
protected  List<JobHandler> customJobHandlers
           
protected  List<CommandInterceptor> customPostCommandInterceptors
           
protected  List<Deployer> customPostDeployers
           
protected  List<VariableType> customPostVariableTypes
           
protected  List<CommandInterceptor> customPreCommandInterceptors
          the configurable list which will be processed to build the commandExecutor
protected  List<Deployer> customPreDeployers
           
protected  List<VariableType> customPreVariableTypes
           
protected  RejectedJobsHandler customRejectedJobsHandler
           
protected  List<String> customScriptingEngineClasses
           
protected  List<SessionFactory> customSessionFactories
           
protected static Properties databaseTypeMappings
           
static String DB_SCHEMA_UPDATE_CREATE
           
static String DB_SCHEMA_UPDATE_DROP_CREATE
           
protected  DbSqlSessionFactory dbSqlSessionFactory
           
static String DEFAULT_MYBATIS_MAPPING_FILE
           
static String DEFAULT_WS_SYNC_FACTORY
           
protected  CommandConfig defaultCommandConfig
           
protected  DelegateInterceptor delegateInterceptor
           
protected  List<Deployer> deployers
           
protected  DeploymentManager deploymentManager
           
protected  boolean enableSafeBpmnXml
          Set this to true if you want to have extra checks on the BPMN xml that is parsed.
protected  Map<String,EventHandler> eventHandlers
           
protected  ExpressionManager expressionManager
           
protected  FailedJobCommandFactory failedJobCommandFactory
           
protected  Map<String,FormEngine> formEngines
           
protected  FormService formService
           
protected  FormTypes formTypes
           
protected  HistoryService historyService
           
protected  IdentityService identityService
           
protected  IdGenerator idGenerator
           
protected  DataSource idGeneratorDataSource
           
protected  String idGeneratorDataSourceJndiName
           
protected  Map<String,JobHandler> jobHandlers
           
protected  DeploymentCache<Object> knowledgeBaseCache
           
protected  int knowledgeBaseCacheLimit
           
protected  ListenerFactory listenerFactory
           
protected  ManagementService managementService
           
protected  List<BpmnParseHandler> postBpmnParseHandlers
           
protected  List<BpmnParseHandler> preBpmnParseHandlers
           
protected  DeploymentCache<ProcessDefinitionEntity> processDefinitionCache
           
protected  int processDefinitionCacheLimit
           
protected  RepositoryService repositoryService
           
protected  List<ResolverFactory> resolverFactories
           
protected  RuntimeService runtimeService
           
protected  CommandConfig schemaCommandConfig
           
protected  ScriptingEngines scriptingEngines
           
protected  Map<Class<?>,SessionFactory> sessionFactories
           
protected  org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory
           
protected  TaskService taskService
           
protected  TransactionContextFactory transactionContextFactory
           
protected  org.apache.ibatis.transaction.TransactionFactory transactionFactory
           
protected  VariableTypes variableTypes
           
protected  String wsSyncFactoryClassName
           
 
从类 org.activiti.engine.ProcessEngineConfiguration 继承的字段
activityFontName, classLoader, databaseSchema, databaseSchemaUpdate, databaseTablePrefix, databaseType, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultCamelContext, 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, mailServerDefaultFrom, mailServerHost, mailServerPassword, mailServerPort, mailServerUsername, mailSessionJndi, processEngineLifecycleListener, processEngineName, transactionsExternallyManaged, useSSL, useTLS, xmlEncoding
 
构造方法摘要
ProcessEngineConfigurationImpl()
           
 
方法摘要
protected  void addSessionFactory(SessionFactory sessionFactory)
           
 ProcessEngine buildProcessEngine()
           
protected abstract  CommandInterceptor createTransactionInterceptor()
           
 ActivityBehaviorFactory getActivityBehaviorFactory()
           
 int getBatchSizeProcessInstances()
           
 int getBatchSizeTasks()
           
 Map<Object,Object> getBeans()
           
 BpmnDeployer getBpmnDeployer()
           
 BpmnParseFactory getBpmnParseFactory()
           
 BpmnParser getBpmnParser()
           
 BusinessCalendarManager getBusinessCalendarManager()
           
 CommandContextFactory getCommandContextFactory()
           
 CommandExecutor getCommandExecutor()
           
 List<CommandInterceptor> getCommandInterceptors()
           
 CommandInterceptor getCommandInvoker()
           
 List<ProcessEngineConfigurator> getConfigurators()
           
 List<BpmnParseHandler> getCustomDefaultBpmnParseHandlers()
           
 List<EventHandler> getCustomEventHandlers()
           
 List<FormEngine> getCustomFormEngines()
           
 List<AbstractFormType> getCustomFormTypes()
           
 List<JobHandler> getCustomJobHandlers()
           
 List<CommandInterceptor> getCustomPostCommandInterceptors()
           
 List<Deployer> getCustomPostDeployers()
           
 List<VariableType> getCustomPostVariableTypes()
           
 List<CommandInterceptor> getCustomPreCommandInterceptors()
           
 List<Deployer> getCustomPreDeployers()
           
 List<VariableType> getCustomPreVariableTypes()
           
 RejectedJobsHandler getCustomRejectedJobsHandler()
           
 List<String> getCustomScriptingEngineClasses()
           
 List<SessionFactory> getCustomSessionFactories()
           
 DbSqlSessionFactory getDbSqlSessionFactory()
           
protected  List<BpmnParseHandler> getDefaultBpmnParseHandlers()
           
 CommandConfig getDefaultCommandConfig()
           
protected  Collection<? extends CommandInterceptor> getDefaultCommandInterceptors()
           
protected static Properties getDefaultDatabaseTypeMappings()
           
protected  Collection<? extends Deployer> getDefaultDeployers()
           
protected  List<BpmnParseHandler> getDefaultHistoryParseHandlers()
           
 DelegateInterceptor getDelegateInterceptor()
           
 List<Deployer> getDeployers()
           
 DeploymentManager getDeploymentManager()
           
 EventHandler getEventHandler(String eventType)
           
 Map<String,EventHandler> getEventHandlers()
           
 ExpressionManager getExpressionManager()
           
 FailedJobCommandFactory getFailedJobCommandFactory()
           
 Map<String,FormEngine> getFormEngines()
           
 FormService getFormService()
           
 FormTypes getFormTypes()
           
 HistoryService getHistoryService()
           
 IdentityService getIdentityService()
           
 IdGenerator getIdGenerator()
           
 DataSource getIdGeneratorDataSource()
           
 String getIdGeneratorDataSourceJndiName()
           
 Map<String,JobHandler> getJobHandlers()
           
 DeploymentCache<Object> getKnowledgeBaseCache()
           
 int getKnowledgeBaseCacheLimit()
           
 ListenerFactory getListenerFactory()
           
 ManagementService getManagementService()
           
protected  InputStream getMyBatisXmlConfigurationSteam()
           
 List<BpmnParseHandler> getPostBpmnParseHandlers()
           
 List<BpmnParseHandler> getPreBpmnParseHandlers()
           
 DeploymentCache<ProcessDefinitionEntity> getProcessDefinitionCache()
           
 int getProcessDefinitionCacheLimit()
           
 RepositoryService getRepositoryService()
           
 List<ResolverFactory> getResolverFactories()
           
 RuntimeService getRuntimeService()
           
 CommandConfig getSchemaCommandConfig()
           
 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 initBeans()
           
protected  void initBusinessCalendarManager()
           
protected  void initCommandContextFactory()
           
protected  void initCommandExecutor()
           
protected  void initCommandExecutors()
           
protected  void initCommandInterceptors()
           
protected  void initCommandInvoker()
           
protected  void initConfigurators()
           
 void initDatabaseType()
           
protected  void initDataSource()
           
protected  void initDefaultCommandConfig()
           
protected  void initDelegateInterceptor()
           
protected  void initDeployers()
           
protected  void initEventHandlers()
           
protected  void initExpressionManager()
           
protected  void initFailedJobCommandFactory()
           
protected  void initFormEngines()
           
protected  void initFormTypes()
           
 void initHistoryLevel()
           
protected  void initIdGenerator()
           
protected  CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain)
           
protected  void initJobExecutor()
           
protected  void initJpa()
           
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()
           
 boolean isEnableSafeBpmnXml()
           
 ProcessEngineConfigurationImpl setActivityBehaviorFactory(ActivityBehaviorFactory activityBehaviorFactory)
           
 ProcessEngineConfigurationImpl setBatchSizeProcessInstances(int batchSizeProcessInstances)
           
 ProcessEngineConfigurationImpl setBatchSizeTasks(int batchSizeTasks)
           
 ProcessEngineConfigurationImpl setBeans(Map<Object,Object> beans)
           
 ProcessEngineConfigurationImpl setBpmnDeployer(BpmnDeployer bpmnDeployer)
           
 ProcessEngineConfigurationImpl setBpmnParseFactory(BpmnParseFactory bpmnParseFactory)
           
 ProcessEngineConfigurationImpl setBpmnParser(BpmnParser bpmnParser)
           
 ProcessEngineConfigurationImpl setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager)
           
 ProcessEngineConfigurationImpl setCommandContextFactory(CommandContextFactory commandContextFactory)
           
 ProcessEngineConfigurationImpl setCommandExecutor(CommandExecutor commandExecutor)
           
 ProcessEngineConfigurationImpl setCommandInterceptors(List<CommandInterceptor> commandInterceptors)
           
 void setCommandInvoker(CommandInterceptor commandInvoker)
           
 ProcessEngineConfigurationImpl setConfigurators(List<ProcessEngineConfigurator> configurators)
           
 ProcessEngineConfigurationImpl setCustomDefaultBpmnParseHandlers(List<BpmnParseHandler> customDefaultBpmnParseHandlers)
           
 ProcessEngineConfigurationImpl setCustomEventHandlers(List<EventHandler> customEventHandlers)
           
 ProcessEngineConfigurationImpl setCustomFormEngines(List<FormEngine> customFormEngines)
           
 ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormType> customFormTypes)
           
 ProcessEngineConfigurationImpl setCustomJobHandlers(List<JobHandler> customJobHandlers)
           
 ProcessEngineConfigurationImpl setCustomPostCommandInterceptors(List<CommandInterceptor> customPostCommandInterceptors)
           
 ProcessEngineConfigurationImpl setCustomPostDeployers(List<Deployer> customPostDeployers)
           
 ProcessEngineConfigurationImpl setCustomPostVariableTypes(List<VariableType> customPostVariableTypes)
           
 ProcessEngineConfigurationImpl setCustomPreCommandInterceptors(List<CommandInterceptor> customPreCommandInterceptors)
           
 ProcessEngineConfigurationImpl setCustomPreDeployers(List<Deployer> customPreDeployers)
           
 ProcessEngineConfigurationImpl setCustomPreVariableTypes(List<VariableType> customPreVariableTypes)
           
 ProcessEngineConfigurationImpl setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler)
           
 ProcessEngineConfigurationImpl setCustomScriptingEngineClasses(List<String> customScriptingEngineClasses)
           
 ProcessEngineConfigurationImpl setCustomSessionFactories(List<SessionFactory> customSessionFactories)
           
 ProcessEngineConfigurationImpl setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory)
           
 void setDefaultCommandConfig(CommandConfig defaultCommandConfig)
           
 ProcessEngineConfigurationImpl setDelegateInterceptor(DelegateInterceptor delegateInterceptor)
           
 ProcessEngineConfigurationImpl setDeployers(List<Deployer> deployers)
           
 ProcessEngineConfigurationImpl setDeploymentManager(DeploymentManager deploymentManager)
           
 ProcessEngineConfigurationImpl setEnableSafeBpmnXml(boolean enableSafeBpmnXml)
           
 ProcessEngineConfigurationImpl setEventHandlers(Map<String,EventHandler> eventHandlers)
           
 ProcessEngineConfigurationImpl setExpressionManager(ExpressionManager expressionManager)
           
 ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)
           
 ProcessEngineConfigurationImpl setFormEngines(Map<String,FormEngine> formEngines)
           
 ProcessEngineConfigurationImpl setFormService(FormService formService)
           
 ProcessEngineConfigurationImpl setFormTypes(FormTypes formTypes)
           
 ProcessEngineConfigurationImpl setHistoryService(HistoryService historyService)
           
 ProcessEngineConfigurationImpl setIdentityService(IdentityService identityService)
           
 ProcessEngineConfigurationImpl setIdGenerator(IdGenerator idGenerator)
           
 ProcessEngineConfigurationImpl setIdGeneratorDataSource(DataSource idGeneratorDataSource)
           
 ProcessEngineConfigurationImpl setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)
           
 ProcessEngineConfigurationImpl setJobHandlers(Map<String,JobHandler> jobHandlers)
           
 ProcessEngineConfigurationImpl setKnowledgeBaseCache(DeploymentCache<Object> knowledgeBaseCache)
           
 ProcessEngineConfigurationImpl setKnowledgeBaseCacheLimit(int knowledgeBaseCacheLimit)
           
 ProcessEngineConfigurationImpl setListenerFactory(ListenerFactory listenerFactory)
           
 ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)
           
 ProcessEngineConfigurationImpl setPostBpmnParseHandlers(List<BpmnParseHandler> postBpmnParseHandlers)
           
 ProcessEngineConfigurationImpl setPreBpmnParseHandlers(List<BpmnParseHandler> preBpmnParseHandlers)
           
 ProcessEngineConfigurationImpl setProcessDefinitionCache(DeploymentCache<ProcessDefinitionEntity> processDefinitionCache)
           
 ProcessEngineConfigurationImpl setProcessDefinitionCacheLimit(int processDefinitionCacheLimit)
           
 ProcessEngineConfigurationImpl setRepositoryService(RepositoryService repositoryService)
           
 ProcessEngineConfigurationImpl setResolverFactories(List<ResolverFactory> resolverFactories)
           
 ProcessEngineConfigurationImpl setRuntimeService(RuntimeService runtimeService)
           
 void setSchemaCommandConfig(CommandConfig schemaCommandConfig)
           
 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 setVariableTypes(VariableTypes variableTypes)
           
 ProcessEngineConfigurationImpl setWsSyncFactoryClassName(String wsSyncFactoryClassName)
           
 
从类 org.activiti.engine.ProcessEngineConfiguration 继承的方法
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getActivityFontName, getClassLoader, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDataSource, getDataSourceJndiName, getDefaultCamelContext, getHistory, getHistoryLevel, getIdBlockSize, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getJobExecutor, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getLabelFontName, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServerUsername, getMailServerUseSSL, getMailServerUseTLS, getMailSesionJndi, getProcessEngineLifecycleListener, getProcessEngineName, getXmlEncoding, isCreateDiagramOnDeploy, isDbHistoryUsed, isDbIdentityUsed, isJdbcPingEnabled, isJobExecutorActivate, isJpaCloseEntityManager, isJpaHandleTransaction, isTransactionsExternallyManaged, setActivityFontName, setClassLoader, setCreateDiagramOnDeploy, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDataSource, setDataSourceJndiName, setDbHistoryUsed, setDbIdentityUsed, setDefaultCamelContext, setHistory, setHistoryLevel, setIdBlockSize, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobExecutor, setJobExecutorActivate, setJpaCloseEntityManager, setJpaEntityManagerFactory, setJpaHandleTransaction, setJpaPersistenceUnitName, setLabelFontName, setMailServerDefaultFrom, setMailServerHost, setMailServerPassword, setMailServerPort, setMailServerUsername, setMailServerUseSSL, setMailServerUseTLS, setMailSessionJndi, setProcessEngineLifecycleListener, setProcessEngineName, setTransactionsExternallyManaged, setXmlEncoding
 
从类 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
另请参见:
常量字段值

DB_SCHEMA_UPDATE_DROP_CREATE

public static final String DB_SCHEMA_UPDATE_DROP_CREATE
另请参见:
常量字段值

DEFAULT_WS_SYNC_FACTORY

public static final String DEFAULT_WS_SYNC_FACTORY
另请参见:
常量字段值

DEFAULT_MYBATIS_MAPPING_FILE

public static final String DEFAULT_MYBATIS_MAPPING_FILE
另请参见:
常量字段值

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

defaultCommandConfig

protected CommandConfig defaultCommandConfig

schemaCommandConfig

protected CommandConfig schemaCommandConfig

commandInvoker

protected CommandInterceptor commandInvoker

customPreCommandInterceptors

protected List<CommandInterceptor> customPreCommandInterceptors
the configurable list which will be processed to build the commandExecutor


customPostCommandInterceptors

protected List<CommandInterceptor> customPostCommandInterceptors

commandInterceptors

protected List<CommandInterceptor> commandInterceptors

commandExecutor

protected CommandExecutor commandExecutor
this will be initialized during the configurationComplete()


customSessionFactories

protected List<SessionFactory> customSessionFactories

dbSqlSessionFactory

protected DbSqlSessionFactory dbSqlSessionFactory

sessionFactories

protected Map<Class<?>,SessionFactory> sessionFactories

configurators

protected List<ProcessEngineConfigurator> configurators

bpmnDeployer

protected BpmnDeployer bpmnDeployer

bpmnParser

protected BpmnParser bpmnParser

customPreDeployers

protected List<Deployer> customPreDeployers

customPostDeployers

protected List<Deployer> customPostDeployers

deployers

protected List<Deployer> deployers

deploymentManager

protected DeploymentManager deploymentManager

processDefinitionCacheLimit

protected int processDefinitionCacheLimit

processDefinitionCache

protected DeploymentCache<ProcessDefinitionEntity> processDefinitionCache

knowledgeBaseCacheLimit

protected int knowledgeBaseCacheLimit

knowledgeBaseCache

protected DeploymentCache<Object> knowledgeBaseCache

customJobHandlers

protected List<JobHandler> customJobHandlers

jobHandlers

protected Map<String,JobHandler> jobHandlers

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

preBpmnParseHandlers

protected List<BpmnParseHandler> preBpmnParseHandlers

postBpmnParseHandlers

protected List<BpmnParseHandler> postBpmnParseHandlers

customDefaultBpmnParseHandlers

protected List<BpmnParseHandler> customDefaultBpmnParseHandlers

activityBehaviorFactory

protected ActivityBehaviorFactory activityBehaviorFactory

listenerFactory

protected ListenerFactory listenerFactory

bpmnParseFactory

protected BpmnParseFactory bpmnParseFactory

customFormEngines

protected List<FormEngine> customFormEngines

formEngines

protected Map<String,FormEngine> formEngines

customFormTypes

protected List<AbstractFormType> customFormTypes

formTypes

protected FormTypes formTypes

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

beans

protected Map<Object,Object> beans

delegateInterceptor

protected DelegateInterceptor delegateInterceptor

customRejectedJobsHandler

protected RejectedJobsHandler customRejectedJobsHandler

eventHandlers

protected Map<String,EventHandler> eventHandlers

customEventHandlers

protected List<EventHandler> customEventHandlers

failedJobCommandFactory

protected FailedJobCommandFactory failedJobCommandFactory

enableSafeBpmnXml

protected boolean enableSafeBpmnXml
Set this to true if you want to have extra checks on the BPMN xml that is parsed. See http://www.jorambarrez.be/blog/2013/02/19/uploading-a-funny-xml-can-bring-down-your-server/ Unfortunately, this feature is not available on some platforms (JDK 6, JBoss), hence the reason why it is disabled by default. If your platform allows the use of StaxSource during XML parsing, do enable it.


batchSizeProcessInstances

protected int batchSizeProcessInstances
The following settings will determine the amount of entities loaded at once when the engine needs to load multiple entities (eg. when suspending a process definition with all its process instances). The default setting is quite low, as not to surprise anyone with sudden memory spikes. Change it to something higher if the environment Activiti runs in allows it.


batchSizeTasks

protected int batchSizeTasks

databaseTypeMappings

protected static Properties databaseTypeMappings
构造方法详细信息

ProcessEngineConfigurationImpl

public ProcessEngineConfigurationImpl()
方法详细信息

buildProcessEngine

public ProcessEngine buildProcessEngine()
指定者:
ProcessEngineConfiguration 中的 buildProcessEngine

init

protected void init()

initFailedJobCommandFactory

protected void initFailedJobCommandFactory()

initCommandExecutors

protected void initCommandExecutors()

initDefaultCommandConfig

protected void initDefaultCommandConfig()

initCommandInvoker

protected void initCommandInvoker()

initCommandInterceptors

protected void initCommandInterceptors()

getDefaultCommandInterceptors

protected Collection<? extends CommandInterceptor> getDefaultCommandInterceptors()

initCommandExecutor

protected void initCommandExecutor()

initInterceptorChain

protected CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain)

createTransactionInterceptor

protected abstract CommandInterceptor createTransactionInterceptor()

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()

initSessionFactories

protected void initSessionFactories()

addSessionFactory

protected void addSessionFactory(SessionFactory sessionFactory)

initConfigurators

protected void initConfigurators()

initDeployers

protected void initDeployers()

getDefaultDeployers

protected Collection<? extends Deployer> getDefaultDeployers()

getDefaultBpmnParseHandlers

protected List<BpmnParseHandler> getDefaultBpmnParseHandlers()

getDefaultHistoryParseHandlers

protected List<BpmnParseHandler> getDefaultHistoryParseHandlers()

initJobExecutor

protected void initJobExecutor()

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()

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()

getDefaultCommandConfig

public CommandConfig getDefaultCommandConfig()

setDefaultCommandConfig

public void setDefaultCommandConfig(CommandConfig defaultCommandConfig)

getSchemaCommandConfig

public CommandConfig getSchemaCommandConfig()

setSchemaCommandConfig

public void setSchemaCommandConfig(CommandConfig schemaCommandConfig)

getCommandInvoker

public CommandInterceptor getCommandInvoker()

setCommandInvoker

public void setCommandInvoker(CommandInterceptor commandInvoker)

getCustomPreCommandInterceptors

public List<CommandInterceptor> getCustomPreCommandInterceptors()

setCustomPreCommandInterceptors

public ProcessEngineConfigurationImpl setCustomPreCommandInterceptors(List<CommandInterceptor> customPreCommandInterceptors)

getCustomPostCommandInterceptors

public List<CommandInterceptor> getCustomPostCommandInterceptors()

setCustomPostCommandInterceptors

public ProcessEngineConfigurationImpl setCustomPostCommandInterceptors(List<CommandInterceptor> customPostCommandInterceptors)

getCommandInterceptors

public List<CommandInterceptor> getCommandInterceptors()

setCommandInterceptors

public ProcessEngineConfigurationImpl setCommandInterceptors(List<CommandInterceptor> commandInterceptors)

getCommandExecutor

public CommandExecutor getCommandExecutor()

setCommandExecutor

public ProcessEngineConfigurationImpl setCommandExecutor(CommandExecutor commandExecutor)

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()

setManagementService

public ProcessEngineConfigurationImpl setManagementService(ManagementService managementService)

getSessionFactories

public Map<Class<?>,SessionFactory> getSessionFactories()

setSessionFactories

public ProcessEngineConfigurationImpl setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)

getConfigurators

public List<ProcessEngineConfigurator> getConfigurators()

setConfigurators

public ProcessEngineConfigurationImpl setConfigurators(List<ProcessEngineConfigurator> configurators)

getBpmnDeployer

public BpmnDeployer getBpmnDeployer()

setBpmnDeployer

public ProcessEngineConfigurationImpl setBpmnDeployer(BpmnDeployer bpmnDeployer)

getBpmnParser

public BpmnParser getBpmnParser()

setBpmnParser

public ProcessEngineConfigurationImpl setBpmnParser(BpmnParser bpmnParser)

getDeployers

public List<Deployer> getDeployers()

setDeployers

public ProcessEngineConfigurationImpl setDeployers(List<Deployer> deployers)

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<AbstractFormType> getCustomFormTypes()

setCustomFormTypes

public ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormType> 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)

getPreBpmnParseHandlers

public List<BpmnParseHandler> getPreBpmnParseHandlers()

setPreBpmnParseHandlers

public ProcessEngineConfigurationImpl setPreBpmnParseHandlers(List<BpmnParseHandler> preBpmnParseHandlers)

getCustomDefaultBpmnParseHandlers

public List<BpmnParseHandler> getCustomDefaultBpmnParseHandlers()

setCustomDefaultBpmnParseHandlers

public ProcessEngineConfigurationImpl setCustomDefaultBpmnParseHandlers(List<BpmnParseHandler> customDefaultBpmnParseHandlers)

getPostBpmnParseHandlers

public List<BpmnParseHandler> getPostBpmnParseHandlers()

setPostBpmnParseHandlers

public ProcessEngineConfigurationImpl setPostBpmnParseHandlers(List<BpmnParseHandler> postBpmnParseHandlers)

getActivityBehaviorFactory

public ActivityBehaviorFactory getActivityBehaviorFactory()

setActivityBehaviorFactory

public ProcessEngineConfigurationImpl setActivityBehaviorFactory(ActivityBehaviorFactory activityBehaviorFactory)

getListenerFactory

public ListenerFactory getListenerFactory()

setListenerFactory

public ProcessEngineConfigurationImpl setListenerFactory(ListenerFactory listenerFactory)

getBpmnParseFactory

public BpmnParseFactory getBpmnParseFactory()

setBpmnParseFactory

public ProcessEngineConfigurationImpl setBpmnParseFactory(BpmnParseFactory bpmnParseFactory)

getBeans

public Map<Object,Object> getBeans()

setBeans

public ProcessEngineConfigurationImpl setBeans(Map<Object,Object> beans)

getResolverFactories

public List<ResolverFactory> getResolverFactories()

setResolverFactories

public ProcessEngineConfigurationImpl setResolverFactories(List<ResolverFactory> resolverFactories)

getDeploymentManager

public DeploymentManager getDeploymentManager()

setDeploymentManager

public ProcessEngineConfigurationImpl setDeploymentManager(DeploymentManager deploymentManager)

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 ProcessEngineConfigurationImpl setEventHandlers(Map<String,EventHandler> eventHandlers)

getEventHandlers

public Map<String,EventHandler> getEventHandlers()

getCustomEventHandlers

public List<EventHandler> getCustomEventHandlers()

setCustomEventHandlers

public ProcessEngineConfigurationImpl setCustomEventHandlers(List<EventHandler> customEventHandlers)

getFailedJobCommandFactory

public FailedJobCommandFactory getFailedJobCommandFactory()

setFailedJobCommandFactory

public ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory)

getIdGeneratorDataSource

public DataSource getIdGeneratorDataSource()

setIdGeneratorDataSource

public ProcessEngineConfigurationImpl setIdGeneratorDataSource(DataSource idGeneratorDataSource)

getIdGeneratorDataSourceJndiName

public String getIdGeneratorDataSourceJndiName()

setIdGeneratorDataSourceJndiName

public ProcessEngineConfigurationImpl setIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName)

getBatchSizeProcessInstances

public int getBatchSizeProcessInstances()

setBatchSizeProcessInstances

public ProcessEngineConfigurationImpl setBatchSizeProcessInstances(int batchSizeProcessInstances)

getBatchSizeTasks

public int getBatchSizeTasks()

setBatchSizeTasks

public ProcessEngineConfigurationImpl setBatchSizeTasks(int batchSizeTasks)

getProcessDefinitionCacheLimit

public int getProcessDefinitionCacheLimit()

setProcessDefinitionCacheLimit

public ProcessEngineConfigurationImpl setProcessDefinitionCacheLimit(int processDefinitionCacheLimit)

getProcessDefinitionCache

public DeploymentCache<ProcessDefinitionEntity> getProcessDefinitionCache()

setProcessDefinitionCache

public ProcessEngineConfigurationImpl setProcessDefinitionCache(DeploymentCache<ProcessDefinitionEntity> processDefinitionCache)

getKnowledgeBaseCacheLimit

public int getKnowledgeBaseCacheLimit()

setKnowledgeBaseCacheLimit

public ProcessEngineConfigurationImpl setKnowledgeBaseCacheLimit(int knowledgeBaseCacheLimit)

getKnowledgeBaseCache

public DeploymentCache<Object> getKnowledgeBaseCache()

setKnowledgeBaseCache

public ProcessEngineConfigurationImpl setKnowledgeBaseCache(DeploymentCache<Object> knowledgeBaseCache)

isEnableSafeBpmnXml

public boolean isEnableSafeBpmnXml()

setEnableSafeBpmnXml

public ProcessEngineConfigurationImpl setEnableSafeBpmnXml(boolean enableSafeBpmnXml)


Copyright © 2013 Alfresco. All rights reserved.