open class EhCacheCache : Cache
Cache implementation on top of an Ehcache instance. |
|
open class EhCacheCacheManager : AbstractTransactionSupportingCacheManager
CacheManager backed by an EhCache net.sf.ehcache.CacheManager. |
|
open class EhCacheFactoryBean : CacheConfiguration, FactoryBean<Ehcache>, BeanNameAware, InitializingBean
FactoryBean that creates a named EhCache net.sf.ehcache.Cache instance (or a decorator that implements the net.sf.ehcache.Ehcache interface), representing a cache region within an EhCache net.sf.ehcache.CacheManager. If the specified named cache is not configured in the cache configuration descriptor, this FactoryBean will construct an instance of a Cache with the provided name and the specified cache properties and add it to the CacheManager for later retrieval. If some or all properties are not set at configuration time, this FactoryBean will use defaults. Note: If the named Cache instance is found, the properties will be ignored and the Cache instance will be retrieved from the CacheManager. Note: As of Spring 5.0, Spring's EhCache support requires EhCache 2.10 or higher. |
|
open class EhCacheManagerFactoryBean : FactoryBean<CacheManager>, InitializingBean, DisposableBean
FactoryBean that exposes an EhCache net.sf.ehcache.CacheManager instance (independent or shared), configured from a specified config location. If no config location is specified, a CacheManager will be configured from "ehcache.xml" in the root of the class path (that is, default EhCache initialization - as defined in the EhCache docs - will apply). Setting up a separate EhCacheManagerFactoryBean is also advisable when using EhCacheFactoryBean, as it provides a (by default) independent CacheManager instance and cares for proper shutdown of the CacheManager. EhCacheManagerFactoryBean is also necessary for loading EhCache configuration from a non-default config location. Note: As of Spring 5.0, Spring's EhCache support requires EhCache 2.10 or higher. |
|
abstract class 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 These methods are a simple alternative to custom CacheManager setup code. For any advanced purposes, consider using |