Class CacheConfiguration
- java.lang.Object
-
- org.ehrbase.application.config.cache.CacheConfiguration
-
@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(CacheProperties.class) @EnableCaching public class CacheConfiguration extends Object
Configurationfor EhCache using JCache.- Since:
- 1.0.0
- Author:
- Renaud Subiger
-
-
Constructor Summary
Constructors Constructor Description CacheConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheInitializercacheInitializer(KnowledgeCacheService knowledgeCacheService)CacheOptionscacheOptions(CacheProperties properties)
-
-
-
Method Detail
-
cacheOptions
@Bean public CacheOptions cacheOptions(CacheProperties properties)
-
cacheInitializer
@Bean @ConditionalOnProperty(prefix="cache", name="init-on-startup", havingValue="true") public CacheInitializer cacheInitializer(KnowledgeCacheService knowledgeCacheService)
-
-