@groovy.util.logging.Slf4j class FrameworkModule extends com.google.inject.AbstractModule
The Guice Module that holds all of the core components of the framework.
Type Params | Return Type | Name and description |
---|---|---|
|
io.vertx.ext.web.handler.BodyHandler |
bodyHandler() |
|
protected void |
configure() |
|
static FrameworkModule |
create(Settings settings) Creates in instance of this class with all of its heavy dependencies already initialized. |
|
Router |
getRouter() |
|
io.vertx.core.http.HttpServer |
getServer()
|
|
io.vertx.core.Vertx |
getVertx() |
|
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
|
jakarta.validation.Validator |
validator() |
Methods inherited from class | Name |
---|---|
class com.google.inject.AbstractModule |
com.google.inject.AbstractModule#configure(com.google.inject.Binder), com.google.inject.AbstractModule#wait(long, int), com.google.inject.AbstractModule#wait(), com.google.inject.AbstractModule#wait(long), com.google.inject.AbstractModule#equals(java.lang.Object), com.google.inject.AbstractModule#toString(), com.google.inject.AbstractModule#hashCode(), com.google.inject.AbstractModule#getClass(), com.google.inject.AbstractModule#notify(), com.google.inject.AbstractModule#notifyAll() |
Creates in instance of this class with all of its heavy dependencies already initialized. It's done this way so that they will not have to be re-initialized should we need to clear the injector after we perform a hot reload.