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 intHTTP_PORTThe 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 voidstart(io.vertx.core.Promise<Void> startPromise)voidstop(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:
startin interfaceio.vertx.core.Verticle- Overrides:
startin classio.vertx.core.AbstractVerticle
-
stop
public void stop(io.vertx.core.Promise<Void> stopPromise)
- Specified by:
stopin interfaceio.vertx.core.Verticle- Overrides:
stopin classio.vertx.core.AbstractVerticle
-
-