程序包 org.springframework.cache.ehcache
Support classes for the open source cache EhCache 2.x, allowing to set up an EhCache CacheManager and Caches as beans in a Spring context.
Note: EhCache 3.x lives in a different package namespace and is not covered by the traditional support classes here. Instead, consider using it through JCache (JSR-107), with Spring's support in org.springframework.cache.jcache
.
类概要 类 说明 EhCacheCache EhCacheCacheManager CacheManager backed by an EhCacheCacheManager
.EhCacheFactoryBean FactoryBean
that creates a named EhCacheCache
instance (or a decorator that implements theEhcache
interface), representing a cache region within an EhCacheCacheManager
.EhCacheManagerFactoryBean FactoryBean
that exposes an EhCacheCacheManager
instance (independent or shared), configured from a specified config location.EhCacheManagerUtils Convenient builder methods for EhCache 2.5+CacheManager
setup, providing easy programmatic bootstrapping from a Spring-provided resource.