public class CacheProvider extends 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) |
@Inject public CacheProvider(com.google.inject.Injector injector, NinjaProperties ninjaProperties, org.slf4j.Logger logger)
Copyright © 2013. All Rights Reserved.