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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.springframework.cache.ehcache.EhCacheManagerFactoryBean

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    setCacheNamePrefix(String cacheNamePrefix)
     

    Methods inherited from class org.springframework.cache.ehcache.EhCacheManagerFactoryBean

    destroy, getObject, getObjectType, isSingleton, setAcceptExisting, setCacheManagerName, setConfigLocation, setShared

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TenantAwareEhCacheManagerFactoryBean

      public TenantAwareEhCacheManagerFactoryBean()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Overrides:
      afterPropertiesSet in class org.springframework.cache.ehcache.EhCacheManagerFactoryBean
    • setCacheNamePrefix

      public void setCacheNamePrefix(String cacheNamePrefix)