| 1234567891011121314151617 |
- package com.izouma.tcg.config;
- import org.springframework.cache.CacheManager;
- import org.springframework.cache.annotation.EnableCaching;
- import org.springframework.cache.support.SimpleCacheManager;
- import org.springframework.context.annotation.Bean;
- import org.springframework.context.annotation.Configuration;
- @EnableCaching
- @Configuration
- public class CacheConfig {
- @Bean
- public CacheManager cacheManager() {
- SimpleCacheManager manager = new SimpleCacheManager();
- return manager;
- }
- }
|