store = new ProcessStoreImpl(endpointReferenceContext, null, "jpa", config, true);
// registerExternalVariableModules();
// store.loadAll();
daoConnectionFactory = new BpelDAOConnectionFactoryImpl(scheduler);
server.setInMemDaoConnectionFactory(new BpelDAOConnectionFactoryImpl(scheduler, config.getInMemMexTtl()));
server.setDaoConnectionFactory(daoConnectionFactory);
server.setEndpointReferenceContext(endpointReferenceContext);
server.setMessageExchangeContext(messageExchangeContext);
server.setBindingContext(bindingContext);
server.setScheduler(scheduler);