Package mongoval

Class MongoModule

  • All Implemented Interfaces:
    io.vertx.core.Verticle

    public abstract class MongoModule
    extends vertxval.VertxModule
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collection  
      • Fields inherited from class vertxval.VertxModule

        deployer, deploymentOptions
      • Fields inherited from class io.vertx.core.AbstractVerticle

        context, vertx
    • Constructor Summary

      Constructors 
      Constructor Description
      MongoModule​(io.vertx.core.DeploymentOptions deploymentOptions, Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collection)  
      MongoModule​(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collection)  
    • Method Summary

      • Methods inherited from class vertxval.VertxModule

        define, deploy, deployConsumer, deployConsumer, deployFn, deployFn, deployTask, deployTask, deployVerticle, deployλ, deployλ, getDeployedVerticle, start
      • Methods inherited from class io.vertx.core.AbstractVerticle

        config, deploymentID, getVertx, init, processArgs, start, stop, stop
    • Field Detail

      • collection

        public final Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collection
    • Constructor Detail

      • MongoModule

        public MongoModule​(io.vertx.core.DeploymentOptions deploymentOptions,
                           Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collection)
      • MongoModule

        public MongoModule​(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collection)