1 4 package com.tc.objectserver.persistence.sleepycat; 5 6 import com.sleepycat.je.DatabaseEntry; 7 import com.tc.objectserver.core.api.ManagedObject; 8 9 import java.io.IOException ; 10 11 public interface SerializationAdapter { 12 public void serializeManagedObject(DatabaseEntry entry, ManagedObject managedObject) throws IOException ; 13 public void serializeString(DatabaseEntry entry, String string) throws IOException ; 14 15 public ManagedObject deserializeManagedObject(DatabaseEntry data) throws IOException , ClassNotFoundException ; 16 public String deserializeString(DatabaseEntry data) throws IOException , ClassNotFoundException ; 17 } 18 | Popular Tags |