private void addRuntime(MongoRuntime runtime, boolean save) throws Exception { super.add(runtime); if (save) { super.save(); } processListeners(runtime, true); }
public void removeRuntime(MongoRuntime runtime) throws Exception { super.remove(runtime); super.save(); processListeners(runtime, false); // runtime.dispose(); }