|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.ejb21.JHandleDelegate
public class JHandleDelegate
Implementation for HandleDelegate SPI.
Constructor Summary | |
---|---|
JHandleDelegate()
|
Method Summary | |
---|---|
EJBHome |
readEJBHome(ObjectInputStream in)
Deserialize the EJBHome reference corresponding to a HomeHandle. |
EJBObject |
readEJBObject(ObjectInputStream in)
Deserialize the EJBObject reference corresponding to a Handle. |
void |
writeEJBHome(EJBHome home,
ObjectOutputStream out)
Serialize the EJBHome reference corresponding to a HomeHandle. |
void |
writeEJBObject(EJBObject ejb,
ObjectOutputStream out)
Serialize the EJBObject reference corresponding to a Handle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JHandleDelegate()
Method Detail |
---|
public void writeEJBObject(EJBObject ejb, ObjectOutputStream out) throws IOException
writeEJBObject
in interface HandleDelegate
ejb
- The EJBObject reference to be serialized.out
- The output stream.
IOException
- The EJBObject could not be serialized because of a
system-level failure.public EJBObject readEJBObject(ObjectInputStream in) throws IOException, ClassNotFoundException
readEJBObject
in interface HandleDelegate
in
- The input stream.
IOException
- The EJBObject could not be deserialized because of a
system-level failure.
ClassNotFoundException
- The EJBObject could not be deserialized
because some class could not be found.public void writeEJBHome(EJBHome home, ObjectOutputStream out) throws IOException
writeEJBHome
in interface HandleDelegate
home
- The EJBHome reference to be serialized.out
- The output stream.
IOException
- The EJBObject could not be deserialized because of a
system-level failure.public EJBHome readEJBHome(ObjectInputStream in) throws IOException, ClassNotFoundException
readEJBHome
in interface HandleDelegate
in
- The input stream.
IOException
- The EJBHome could not be deserialized because of a
system-level failure.
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 |