|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.container.JHandleDelegate
public class JHandleDelegate
Implementation for HandleDelegate SPI.
Constructor Summary | |
---|---|
JHandleDelegate()
|
Method Summary | |
---|---|
javax.ejb.EJBHome |
readEJBHome(java.io.ObjectInputStream in)
Deserialize the EJBHome reference corresponding to a HomeHandle. |
javax.ejb.EJBObject |
readEJBObject(java.io.ObjectInputStream in)
Deserialize the EJBObject reference corresponding to a Handle. |
void |
writeEJBHome(javax.ejb.EJBHome home,
java.io.ObjectOutputStream out)
Serialize the EJBHome reference corresponding to a HomeHandle. |
void |
writeEJBObject(javax.ejb.EJBObject ejb,
java.io.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(javax.ejb.EJBObject ejb, java.io.ObjectOutputStream out) throws java.io.IOException
writeEJBObject
in interface javax.ejb.spi.HandleDelegate
ejb
- The EJBObject reference to be serialized.out
- The output stream.
java.io.IOException
- The EJBObject could not be serialized because of a
system-level failure.public javax.ejb.EJBObject readEJBObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
readEJBObject
in interface javax.ejb.spi.HandleDelegate
in
- 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.public void writeEJBHome(javax.ejb.EJBHome home, java.io.ObjectOutputStream out) throws java.io.IOException
writeEJBHome
in interface javax.ejb.spi.HandleDelegate
home
- The EJBHome reference to be serialized.out
- The output stream.
java.io.IOException
- The EJBObject could not be deserialized because of a
system-level failure.public javax.ejb.EJBHome readEJBHome(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
readEJBHome
in interface javax.ejb.spi.HandleDelegate
in
- 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 |