JCacheModule
play.api.libs.jcache.JCacheModule
class JCacheModule extends SimpleModule
Provides bindings for JSR 107 (JCache) CacheManager.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Create a binding key for the given class.
final override def bindings(environment: Environment, configuration: Configuration): Seq[Binding[_]]
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.
In this article