spring-framework / org.springframework.cache.ehcache / EhCacheManagerUtils / <init>

<init>

EhCacheManagerUtils()

Convenient builder methods for EhCache 2.5+ CacheManager setup, providing easy programmatic bootstrapping from a Spring-provided resource. This is primarily intended for use within @Bean methods in a Spring configuration class.

These methods are a simple alternative to custom CacheManager setup code. For any advanced purposes, consider using #parseConfiguration, customizing the configuration object, and then calling the CacheManager#CacheManager(Configuration) constructor.

Author
Juergen Hoeller

Since
4.1