Example #1
0
 public static Mongo getMongo() {
   return DBManager.getInstance().getMongo();
 }
Example #2
0
 private MM(String dbName) {
   morphia = new Morphia();
   ds = morphia.createDatastore(DBManager.getInstance().getMongo(), dbName);
 }