1 25 26 package javax.ejb.spi; 27 28 import java.io.IOException ; 29 import java.io.ObjectInputStream ; 30 import java.io.ObjectOutputStream ; 31 32 import javax.ejb.EJBHome ; 33 import javax.ejb.EJBObject ; 34 35 41 public interface HandleDelegate { 42 43 53 void writeEJBObject(final EJBObject ejbObject, final ObjectOutputStream objectOutputStream) throws IOException ; 54 55 71 EJBObject readEJBObject(ObjectInputStream objectInputStream) throws IOException , ClassNotFoundException ; 72 73 83 void writeEJBHome(EJBHome ejbHome, ObjectOutputStream objectOutputStream) throws IOException ; 84 85 101 EJBHome readEJBHome(ObjectInputStream objectInputStream) throws IOException , ClassNotFoundException ; 102 103 } 104 | Popular Tags |