コード例 #1
0
 private void addRuntime(MongoRuntime runtime, boolean save) throws Exception {
   super.add(runtime);
   if (save) {
     super.save();
   }
   processListeners(runtime, true);
 }
コード例 #2
0
 public void removeRuntime(MongoRuntime runtime) throws Exception {
   super.remove(runtime);
   super.save();
   processListeners(runtime, false);
   // runtime.dispose();
 }