46474849505152535455
public NaturalIdRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException { switch (accessType) { case READ_WRITE : return new ExoCacheNaturalIdRegionReadWriteAccessStrategy(this); default : throw new IllegalArgumentException("Unrecognized access strategy type [" + accessType + "]"); } }