org.norther.tammi.root.ojb.cache
Class TwoLevelLocalCache.VariableCopyStrategy

java.lang.Object
  extended by org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl.CopyStrategyImpl
      extended by org.norther.tammi.root.ojb.cache.TwoLevelLocalCache.VariableCopyStrategy
All Implemented Interfaces:
ObjectCacheTwoLevelImpl.CopyStrategy
Enclosing class:
TwoLevelLocalCache

public static class TwoLevelLocalCache.VariableCopyStrategy
extends ObjectCacheTwoLevelImpl.CopyStrategyImpl

A variable copy strategy for the two level cache.


Constructor Summary
TwoLevelLocalCache.VariableCopyStrategy()
          Constructs a new strategy.
 
Method Summary
 Object read(PersistenceBroker broker, Object obj)
           
 Object write(PersistenceBroker broker, Object obj, Object oldObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoLevelLocalCache.VariableCopyStrategy

public TwoLevelLocalCache.VariableCopyStrategy()
Constructs a new strategy.

Method Detail

read

public Object read(PersistenceBroker broker,
                   Object obj)
Specified by:
read in interface ObjectCacheTwoLevelImpl.CopyStrategy
Overrides:
read in class ObjectCacheTwoLevelImpl.CopyStrategyImpl

write

public Object write(PersistenceBroker broker,
                    Object obj,
                    Object oldObject)
Specified by:
write in interface ObjectCacheTwoLevelImpl.CopyStrategy
Overrides:
write in class ObjectCacheTwoLevelImpl.CopyStrategyImpl


Copyright © 2004 The Norther Organization. All rights reserved.