Class CacheRegionRegistrar


  • public class CacheRegionRegistrar
    extends java.lang.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 Detail

      • CacheRegionRegistrar

        public CacheRegionRegistrar​(CacheRegion region)