//
// TODO: add a OdeContext.getStore() method to clean this up.
OdeContext inst = OdeContext.getInstance();
Field _store = inst.getClass().getDeclaredField("_store");
_store.setAccessible(true);
ProcessStore ps = (ProcessStore) _store.get(inst);
List<QName> processes = ps.listProcesses(processName);
Result = processes != null && !processes.isEmpty();
} catch (Exception e) {
LOG.log(Level.WARNING, "Could not determine deployment state for process: " + processName, e);
}
return Result;