@Configuration
@EnableCaching(proxyTargetClass=true)
@DependsOn(value="applicationConfiguration")
public class CacheConfiguration
extends org.springframework.cache.annotation.CachingConfigurerSupport
| Constructor and Description |
|---|
CacheConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cache.CacheManager |
cacheManager() |
org.springframework.cache.interceptor.CacheResolver |
cacheResolver() |
org.springframework.cache.interceptor.KeyGenerator |
keyGenerator() |
void |
setCities(List<String> cities) |
@Bean public org.springframework.cache.interceptor.CacheResolver cacheResolver()
cacheResolver in interface org.springframework.cache.annotation.CachingConfigurercacheResolver in class org.springframework.cache.annotation.CachingConfigurerSupport@Bean public org.springframework.cache.interceptor.KeyGenerator keyGenerator()
keyGenerator in interface org.springframework.cache.annotation.CachingConfigurerkeyGenerator in class org.springframework.cache.annotation.CachingConfigurerSupport@Bean public org.springframework.cache.CacheManager cacheManager()
cacheManager in interface org.springframework.cache.annotation.CachingConfigurercacheManager in class org.springframework.cache.annotation.CachingConfigurerSupportCopyright © 2015–2016 eGovernments Foundation. All rights reserved.