Class ProductVerticle
- java.lang.Object
-
- io.vertx.core.AbstractVerticle
-
- org.hibernate.reactive.it.verticle.ProductVerticle
-
- All Implemented Interfaces:
io.vertx.core.Verticle
public class ProductVerticle extends io.vertx.core.AbstractVerticle
-
-
Field Summary
Fields Modifier and Type Field Description static int
HTTP_PORT
The port to use to listen to requests
-
Constructor Summary
Constructors Constructor Description ProductVerticle(Supplier<Mutiny.SessionFactory> emfSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start(io.vertx.core.Promise<Void> startPromise)
void
stop(io.vertx.core.Promise<Void> stopPromise)
-
-
-
Field Detail
-
HTTP_PORT
public static final int HTTP_PORT
The port to use to listen to requests- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProductVerticle
public ProductVerticle(Supplier<Mutiny.SessionFactory> emfSupplier)
-
-
Method Detail
-
start
public void start(io.vertx.core.Promise<Void> startPromise)
- Specified by:
start
in interfaceio.vertx.core.Verticle
- Overrides:
start
in classio.vertx.core.AbstractVerticle
-
stop
public void stop(io.vertx.core.Promise<Void> stopPromise)
- Specified by:
stop
in interfaceio.vertx.core.Verticle
- Overrides:
stop
in classio.vertx.core.AbstractVerticle
-
-