@Override public void start() { MongoClientProvider.setClient(MongoClient.createShared(vertx, new JsonObject())); registerServices(); createServer(); }
public MongoUserRepository() { this.mongo = MongoClientProvider.getClient(); }