java110
2020-06-14 91f58ac34a01db7bb4e30a57af4454e0c36fd1c9
java110-core/src/main/java/com/java110/core/cache/CacheConfiguration.java
@@ -1,13 +1,9 @@
package com.java110.core.cache;
import com.java110.core.factory.AppFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.ehcache.EhCacheCacheManager;
import org.springframework.cache.ehcache.EhCacheManagerFactoryBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.annotation.Bean;
import org.springframework.core.io.ClassPathResource;
@@ -23,7 +19,7 @@
    */
    @Bean(name = "appEhCacheCacheManager")
    public EhCacheCacheManager ehCacheCacheManager(EhCacheManagerFactoryBean bean){
        return new EhCacheCacheManager (bean.getObject ());
        return new EhCacheCacheManager (bean.getObject());
    }
    /*