EhCacheManagerFactoryBean.java | Class | 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. |