activiti学习资料(ProcessEngineConfiguration,CommandContextFactory)

来源:互联网 发布:传奇3数据清理 编辑:程序博客网 时间:2024/05/19 08:24

容器ProcessEngineConfiguration和CommandContextFactory

两大容器ProcessEngineConfiguration和CommandContextFactory包含了大部分的服务,在不同的环境下通过传递这两个容器就可以获得完成业务逻辑所需的资源。

ProcessEngineConfiguration包含的服务:

  DeployerManager deployerManager;
  VariableTypes variableTypes;
  ScriptingEngines scriptingEngines;
  JobExecutor jobExecutor;
  IdGenerator idGenerator;
  ProcessCache processCache;
  CommandContextFactory commandContextFactory;
  CommandExecutor commandExecutor;
  DbSchemaStrategy dbSchemaStrategy;
  ProcessServiceImpl processService;
  IdentityServiceImpl identityService;
  TaskServiceImpl taskService;
  ManagementServiceImpl managementService;
  ExpressionManager expressionManager;
  JobHandlers jobHandlers;
  PersistenceSessionFactory persistenceSessionFactory;
  MessageSessionFactory messageSessionFactory;
  TimerSessionFactory timerSessionFactory;
  TransactionContextFactory transactionContextFactory;


CommandContextFactory包含的服务:

  PersistenceSessionFactory persistenceSessionFactory;
  MessageSessionFactory messageSessionFactory;
  TimerSessionFactory timerSessionFactory;
  IdGenerator idGenerator;
  ProcessCache processCache;
  DeployerManager deployerManager;
  ScriptingEngines scriptingEngines;
  VariableTypes variableTypes;
  ExpressionManager expressionManager;
  JobHandlers jobHandlers;
  JobExecutor jobExecutor;
  TransactionContextFactory transactionContextFactory;