|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HandleDelegate
Used to get used by portable implementations of javax.ejb.Handle and javax.ejb.HomeHandle.
Method Summary | |
---|---|
EJBHome |
readEJBHome(java.io.ObjectInputStream objectInputStream)
Deserialize the EJBHome reference corresponding to a HomeHandle. |
EJBObject |
readEJBObject(java.io.ObjectInputStream objectInputStream)
Deserialize the EJBObject reference corresponding to a Handle. |
void |
writeEJBHome(EJBHome ejbHome,
java.io.ObjectOutputStream objectOutputStream)
Serialize the EJBHome reference corresponding to a HomeHandle. |
void |
writeEJBObject(EJBObject ejbObject,
java.io.ObjectOutputStream objectOutputStream)
Serialize the EJBObject reference corresponding to a Handle. |
Method Detail |
---|
void writeEJBObject(EJBObject ejbObject, java.io.ObjectOutputStream objectOutputStream) throws java.io.IOException
ejbObject
- The EJBObject reference to be serialized.objectOutputStream
- The output stream.
java.io.IOException
- The EJBObject could not be serialized because of a
system-level failure.EJBObject readEJBObject(java.io.ObjectInputStream objectInputStream) throws java.io.IOException, java.lang.ClassNotFoundException
objectInputStream
- The input stream.
java.io.IOException
- The EJBObject could not be deserialized because of a
system-level failure.
java.lang.ClassNotFoundException
- The EJBObject could not be deserialized
because some class could not be found.void writeEJBHome(EJBHome ejbHome, java.io.ObjectOutputStream objectOutputStream) throws java.io.IOException
ejbHome
- The EJBHome reference to be serialized.objectOutputStream
- The output stream.
java.io.IOException
- The EJBObject could not be serialized because of a
system-level failure.EJBHome readEJBHome(java.io.ObjectInputStream objectInputStream) throws java.io.IOException, java.lang.ClassNotFoundException
objectInputStream
- The input stream.
java.io.IOException
- The EJBHome could not be deserialized because of a
system-level failure.
java.lang.ClassNotFoundException
- The EJBHome could not be deserialized
because some class could not be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |