public class CacheProvider extends Object implements com.google.inject.Provider<Cache>
NinjaProperties
(aka application.conf).
The configured implementation is only resolved when its actually used vs.
at application startup.
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) |
@Inject public CacheProvider(com.google.inject.Injector injector, NinjaProperties ninjaProperties)
Copyright © 2019 ninjaframework. All rights reserved.