Package net.sf.ehcache.hibernate.nonstop
Class NonstopAccessStrategyFactory
- java.lang.Object
-
- net.sf.ehcache.hibernate.nonstop.NonstopAccessStrategyFactory
-
- All Implemented Interfaces:
EhcacheAccessStrategyFactory
public class NonstopAccessStrategyFactory extends java.lang.Object implements EhcacheAccessStrategyFactory
Implementation ofEhcacheAccessStrategyFactorythat takes care of Nonstop cache exceptions usingHibernateNonstopCacheExceptionHandler- Author:
- Abhishek Sanoujam
-
-
Constructor Summary
Constructors Constructor Description NonstopAccessStrategyFactory(EhcacheAccessStrategyFactory actualFactory)Constructor accepting the actual factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.cache.access.CollectionRegionAccessStrategycreateCollectionRegionAccessStrategy(EhcacheCollectionRegion collectionRegion, org.hibernate.cache.access.AccessType accessType)org.hibernate.cache.access.EntityRegionAccessStrategycreateEntityRegionAccessStrategy(EhcacheEntityRegion entityRegion, org.hibernate.cache.access.AccessType accessType)
-
-
-
Constructor Detail
-
NonstopAccessStrategyFactory
public NonstopAccessStrategyFactory(EhcacheAccessStrategyFactory actualFactory)
Constructor accepting the actual factory- Parameters:
actualFactory-
-
-
Method Detail
-
createEntityRegionAccessStrategy
public org.hibernate.cache.access.EntityRegionAccessStrategy createEntityRegionAccessStrategy(EhcacheEntityRegion entityRegion, org.hibernate.cache.access.AccessType accessType)
- Specified by:
createEntityRegionAccessStrategyin interfaceEhcacheAccessStrategyFactory- Returns:
- the created
EntityRegionAccessStrategy
-
createCollectionRegionAccessStrategy
public org.hibernate.cache.access.CollectionRegionAccessStrategy createCollectionRegionAccessStrategy(EhcacheCollectionRegion collectionRegion, org.hibernate.cache.access.AccessType accessType)
- Specified by:
createCollectionRegionAccessStrategyin interfaceEhcacheAccessStrategyFactory- Returns:
- the created
CollectionRegionAccessStrategy
-
-