1 4 package com.tc.object.applicator; 5 6 import com.tc.object.ClientObjectManager; 7 import com.tc.object.TCObject; 8 import com.tc.object.TraversedReferences; 9 import com.tc.object.dna.api.DNA; 10 import com.tc.object.dna.api.DNAWriter; 11 import com.tc.object.tx.optimistic.OptimisticTransactionManager; 12 13 import java.io.IOException ; 14 import java.util.Map ; 15 16 19 public interface ChangeApplicator { 20 public void hydrate(ClientObjectManager objectManager, TCObject tcObject, DNA dna, Object pojo) throws IOException , 21 ClassNotFoundException ; 22 23 public void dehydrate(ClientObjectManager objectManager, TCObject tcObject, DNAWriter writer, Object pojo); 24 25 public Map connectedCopy(Object source, Object dest, Map visited, ClientObjectManager objectManager, 26 OptimisticTransactionManager txManager); 27 28 public TraversedReferences getPortableObjects(Object pojo, TraversedReferences addTo); 29 30 public Object getNewInstance(ClientObjectManager objectManager, DNA dna) throws IOException , ClassNotFoundException ; 31 } | Popular Tags |