Class CacheRegionRegistrar

java.lang.Object
de.hybris.platform.regioncache.region.CacheRegionRegistrar

public class CacheRegionRegistrar extends Object
This class is a registrar for a RegionCache. If you want to register RegionCache automatically you need to wrap it int this class and register it as a spring bean as follows:
   <bean id="yourCacheRegionRegistrar" class="de.hybris.platform.regioncache.region.CacheRegionRegistrar">
       <constructor-arg ref="yourCacheRegion"/>
   </bean>
 

Or if you have http://www.springframework.org/schema/c schema enabled in your spring configuration:

  <bean id="yourCacheRegionRegistrar" class="de.hybris.platform.regioncache.region.CacheRegionRegistrar" c:region-ref="yourCacheRegion" />
 
  • Constructor Details

    • CacheRegionRegistrar

      public CacheRegionRegistrar(CacheRegion region)
  • Method Details