ehcache

net.sf.ehcache.hibernate.strategy
Interface EhcacheAccessStrategyFactory

All Known Implementing Classes:
EhcacheAccessStrategyFactoryImpl, NonstopAccessStrategyFactory

public interface EhcacheAccessStrategyFactory

Factory to create EntityRegionAccessStrategy

Author:
Abhishek Sanoujam

Method Summary
 org.hibernate.cache.access.CollectionRegionAccessStrategy createCollectionRegionAccessStrategy(EhcacheCollectionRegion collectionRegion, org.hibernate.cache.access.AccessType accessType)
          Create CollectionRegionAccessStrategy for the input EhcacheCollectionRegion and AccessType
 org.hibernate.cache.access.EntityRegionAccessStrategy createEntityRegionAccessStrategy(EhcacheEntityRegion entityRegion, org.hibernate.cache.access.AccessType accessType)
          Create EntityRegionAccessStrategy for the input EhcacheEntityRegion and AccessType
 

Method Detail

createEntityRegionAccessStrategy

org.hibernate.cache.access.EntityRegionAccessStrategy createEntityRegionAccessStrategy(EhcacheEntityRegion entityRegion,
                                                                                       org.hibernate.cache.access.AccessType accessType)
Create EntityRegionAccessStrategy for the input EhcacheEntityRegion and AccessType

Parameters:
entityRegion -
accessType -
Returns:
the created EntityRegionAccessStrategy

createCollectionRegionAccessStrategy

org.hibernate.cache.access.CollectionRegionAccessStrategy createCollectionRegionAccessStrategy(EhcacheCollectionRegion collectionRegion,
                                                                                               org.hibernate.cache.access.AccessType accessType)
Create CollectionRegionAccessStrategy for the input EhcacheCollectionRegion and AccessType

Parameters:
collectionRegion -
accessType -
Returns:
the created CollectionRegionAccessStrategy

ehcache

Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.