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.EhCacheManagerFactoryBeanFactoryBeanthat exposes a tenant-aware EhCacheCacheManagerinstance (independent or shared), configured from a specified config location.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCACHE_SUFFIX_PROPERTY
-
Constructor Summary
Constructors Constructor Description TenantAwareEhCacheManagerFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voidsetCacheNamePrefix(java.lang.String cacheNamePrefix)
-
-
-
Field Detail
-
CACHE_SUFFIX_PROPERTY
public static final java.lang.String CACHE_SUFFIX_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classorg.springframework.cache.ehcache.EhCacheManagerFactoryBean
-
setCacheNamePrefix
public void setCacheNamePrefix(java.lang.String cacheNamePrefix)
-
-