本文主要是介绍两大容器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的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!