下面列出了怎么用org.springframework.cache.config.AnnotatedJCacheableService的API类实例代码及写法,或者点击链接到github查看源代码。
@Bean
public AnnotatedJCacheableService cacheableService() {
return new AnnotatedJCacheableService(defaultCache());
}
@Bean
public AnnotatedJCacheableService cacheableService() {
return new AnnotatedJCacheableService(defaultCache());
}
@Bean
public AnnotatedJCacheableService cacheableService() {
return new AnnotatedJCacheableService(defaultCache());
}