public class CacheProvider extends java.lang.Object implements com.google.inject.Provider<Cache>
CacheConstant#CACHE_IMPLEMENTATION
in
NinjaProperties
(aka application.conf).
If this variable is set the instance for that class is
instantiated and used as cache implementation.
If the variable is not set CacheEhCacheImpl
is used by default.Constructor and Description |
---|
CacheProvider(com.google.inject.Injector injector,
NinjaProperties ninjaProperties,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
Cache |
get() |
@Inject public CacheProvider(com.google.inject.Injector injector, NinjaProperties ninjaProperties, org.slf4j.Logger logger)
Copyright © 2016 ninjaframework. All Rights Reserved.