Class CacheRegionRegistrar
- java.lang.Object
-
- de.hybris.platform.regioncache.region.CacheRegionRegistrar
-
public class CacheRegionRegistrar extends java.lang.ObjectThis 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 Summary
Constructors Constructor Description CacheRegionRegistrar(CacheRegion region)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheRegiongetRegion()
-
-
-
Constructor Detail
-
CacheRegionRegistrar
public CacheRegionRegistrar(CacheRegion region)
-
-
Method Detail
-
getRegion
public CacheRegion getRegion()
-
-