java.lang.Objectorg.springframework.cache.ehcache.EhCacheManagerFactoryBean
All Implemented Interfaces:
DisposableBean, InitializingBean, FactoryBean
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 2.0, this FactoryBean will by default create an independent CacheManager instance, which requires EHCache 1.2 or higher.
Dmitriy - KopylenkoJuergen - Hoeller1.1.1 - | Field Summary | ||
|---|---|---|
| protected final Log | logger | |
| Method from org.springframework.cache.ehcache.EhCacheManagerFactoryBean Summary: |
|---|
| afterPropertiesSet, destroy, getObject, getObjectType, isSingleton, setCacheManagerName, setConfigLocation, setShared |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.springframework.cache.ehcache.EhCacheManagerFactoryBean Detail: |
|---|
|
|
|
|
|
|
Default is "ehcache.xml" in the root of the class path, or if not found, "ehcache-failsafe.xml" in the EHCache jar (default EHCache initialization). |
|