ObjectMapperModule
Module that injects an object mapper to the JSON library on start and on stop.
This solves the issue of the ObjectMapper cache from holding references to the application class loader between reloads.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Create a binding key for the given class.
Get the bindings provided by this module.
Get the bindings provided by this module.
Implementations are strongly encouraged to do nothing in this method other than provide bindings. Startup should be handled in the constructors and/or providers bound in the returned bindings. Dependencies on other modules or components should be expressed through constructor arguments.
The configuration and environment a provided for the purpose of producing dynamic bindings, for example, if what gets bound depends on some configuration, this may be read to control that.
Value parameters
- configuration
-
The configuration
- environment
-
The environment
Attributes
- Returns
-
A sequence of bindings
- Definition Classes
- Inherited from:
- SimpleModule
Deprecated and Inherited methods
Create a binding key for the given class.