Пример #1
0
 @Override
 public void start() {
   MongoClientProvider.setClient(MongoClient.createShared(vertx, new JsonObject()));
   registerServices();
   createServer();
 }
 public MongoUserRepository() {
   this.mongo = MongoClientProvider.getClient();
 }