两大容器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;

<此处有图,稍后>

你可能感兴趣的:(两大容器ProcessEngineConfiguration和CommandContextFactory)