Class TenantAwareEhCacheManagerFactoryBean
java.lang.Object
org.springframework.cache.ehcache.EhCacheManagerFactoryBean
de.hybris.platform.webservicescommons.cache.TenantAwareEhCacheManagerFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<net.sf.ehcache.CacheManager>,org.springframework.beans.factory.InitializingBean
public class TenantAwareEhCacheManagerFactoryBean
extends org.springframework.cache.ehcache.EhCacheManagerFactoryBean
FactoryBean that exposes a tenant-aware EhCache
CacheManager instance (independent or shared), configured from a specified config location.-
Field Summary
FieldsFields inherited from class org.springframework.cache.ehcache.EhCacheManagerFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.cache.ehcache.EhCacheManagerFactoryBean
destroy, getObject, getObjectType, isSingleton, setAcceptExisting, setCacheManagerName, setConfigLocation, setShared
-
Field Details
-
CACHE_SUFFIX_PROPERTY
- See Also:
-
-
Constructor Details
-
TenantAwareEhCacheManagerFactoryBean
public TenantAwareEhCacheManagerFactoryBean()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classorg.springframework.cache.ehcache.EhCacheManagerFactoryBean
-
setCacheNamePrefix
-