@Configuration @ConditionalOnClass(value=J2Cache.class) @EnableConfigurationProperties(value={J2CacheConfig.class,org.springframework.boot.autoconfigure.cache.CacheProperties.class}) @ConditionalOnProperty(name="j2cache.open-spring-cache", havingValue="true") @EnableCaching public class J2CacheSpringCacheAutoConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
J2CacheCacheManger |
cacheManager(CacheChannel cacheChannel) |
@Bean @ConditionalOnBean(value=CacheChannel.class) public J2CacheCacheManger cacheManager(CacheChannel cacheChannel)
Copyright © 2018. All rights reserved.