Package org.springframework.cache.ehcache

Examples of org.springframework.cache.ehcache.EhCacheManagerFactoryBean


  }

  protected final CacheManager initCacheManager() throws IOException {

    EhCacheManagerFactoryBean factoryBean = new EhCacheManagerFactoryBean();
    factoryBean.setShared(isShared());
    factoryBean.setConfigLocation(ResourceUtils.createResource(getConfigLocation()));
    factoryBean.afterPropertiesSet();

    return factoryBean.getObject();

  }
View Full Code Here

TOP

Related Classes of org.springframework.cache.ehcache.EhCacheManagerFactoryBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.