@Configuration @EnableConfigurationProperties(value=EhCacheProperties.class) @ConditionalOnClass(value=net.sf.ehcache.CacheManager.class) @ConditionalOnMissingBean(value=org.springframework.cache.CacheManager.class) @ConditionalOnProperty(name="type", prefix="spring.cache", havingValue="ehcache") public class EhCacheAutoConfiguration extends CacheAutoConfiguration
| 构造器和说明 |
|---|
EhCacheAutoConfiguration(EhCacheProperties ehCacheProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
net.sf.ehcache.config.Configuration |
configuration() |
net.sf.ehcache.CacheManager |
ehCacheCacheManager() |
afterPropertiesSetpublic EhCacheAutoConfiguration(EhCacheProperties ehCacheProperties)
Copyright © 2020. All rights reserved.