org.pm4j.core.pm.impl.cache
Class PmCacheStrategyNoCache

java.lang.Object
  extended by org.pm4j.core.pm.impl.cache.PmCacheStrategyNoCache
All Implemented Interfaces:
PmCacheStrategy

public final class PmCacheStrategyNoCache
extends java.lang.Object
implements PmCacheStrategy


Field Summary
static PmCacheStrategy INSTANCE
           
 
Fields inherited from interface org.pm4j.core.pm.impl.cache.PmCacheStrategy
NO_CACHE_VALUE, NULL_VALUE_OBJECT
 
Constructor Summary
PmCacheStrategyNoCache()
           
 
Method Summary
 void clear(PmObject pm)
           
 java.lang.Object getCachedValue(PmObject pm)
           
 boolean isCaching()
           
 java.lang.Object setAndReturnCachedValue(PmObject pm, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PmCacheStrategy INSTANCE
Constructor Detail

PmCacheStrategyNoCache

public PmCacheStrategyNoCache()
Method Detail

getCachedValue

public java.lang.Object getCachedValue(PmObject pm)
Specified by:
getCachedValue in interface PmCacheStrategy

setAndReturnCachedValue

public java.lang.Object setAndReturnCachedValue(PmObject pm,
                                                java.lang.Object value)
Specified by:
setAndReturnCachedValue in interface PmCacheStrategy

clear

public void clear(PmObject pm)
Specified by:
clear in interface PmCacheStrategy

isCaching

public boolean isCaching()
Specified by:
isCaching in interface PmCacheStrategy