Create a binding key for the given class.
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.
The environment
The configuration
A sequence of bindings
Create a binding key for the given class.
Create a binding key for the given class.
(Since version 2.7.0) Use play.inject.Module.bindClass instead if the Module is coded in Java. Scala modules can use play.api.inject.bind[T: ClassTag]
Create a seq.
Create a seq.
For Java compatibility.
(Since version 2.7.0) Use play.inject.Module instead if the Module is coded in Java.
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.