Example #1
0
 protected void initProcessStore(EndpointReferenceContext eprContext) {
   _store = createProcessStore(eprContext, _db.getDataSource());
   _store.registerListener(new ProcessStoreListenerImpl());
   _store.setDeployDir(
       _odeConfig.getDeployDir() != null
           ? new File(_odeConfig.getDeployDir())
           : new File(_workRoot, "processes"));
   _store.setConfigDir(_configRoot);
 }