| |
|
| java.lang.Object org.objectweb.jonas_ejb.container.JHandleDelegate
JHandleDelegate | public class JHandleDelegate implements HandleDelegate(Code) | | Implementation for HandleDelegate SPI.
author: durieuxp |
Method Summary | |
public EJBHome | readEJBHome(ObjectInputStream in) Deserialize the EJBHome reference corresponding to a HomeHandle.
readEJBHome is called from the readObject method of portable HomeHandle
implementation classes. | public EJBObject | readEJBObject(ObjectInputStream in) Deserialize the EJBObject reference corresponding to a Handle.
readEJBObject is called from the readObject method of portable Handle
implementation classes. | public void | writeEJBHome(EJBHome home, ObjectOutputStream out) Serialize the EJBHome reference corresponding to a HomeHandle. | public void | writeEJBObject(EJBObject ejb, ObjectOutputStream out) Serialize the EJBObject reference corresponding to a Handle. |
readEJBHome | public EJBHome readEJBHome(ObjectInputStream in) throws IOException, ClassNotFoundException(Code) | | Deserialize the EJBHome reference corresponding to a HomeHandle.
readEJBHome is called from the readObject method of portable HomeHandle
implementation classes. The istream object is the same object that was
passed in to the HomeHandle class's readObject. When readEJBHome is
called, istream must point to the location in the stream at which the
EJBHome reference can be read. The container must ensure that the EJBHome
reference is capable of performing invocations immediately after
deserialization.
Parameters: in - The input stream. The deserialized EJBHome reference. throws: IOException - The EJBHome could not be deserialized because of asystem-level failure. throws: ClassNotFoundException - The EJBHome could not be deserializedbecause some class could not be found. |
readEJBObject | public EJBObject readEJBObject(ObjectInputStream in) throws IOException, ClassNotFoundException(Code) | | Deserialize the EJBObject reference corresponding to a Handle.
readEJBObject is called from the readObject method of portable Handle
implementation classes. The istream object is the same object that was
passed in to the Handle class's readObject. When readEJBObject is called,
istream must point to the location in the stream at which the EJBObject
reference can be read. The container must ensure that the EJBObject
reference is capable of performing invocations immediately after
deserialization.
Parameters: in - The input stream. The deserialized EJBObject reference. throws: IOException - The EJBObject could not be deserialized because of asystem-level failure. throws: ClassNotFoundException - The EJBObject could not be deserializedbecause some class could not be found. |
writeEJBHome | public void writeEJBHome(EJBHome home, ObjectOutputStream out) throws IOException(Code) | | Serialize the EJBHome reference corresponding to a HomeHandle. This
method is called from the writeObject method of portable HomeHandle
implementation classes. The ostream object is the same object that was
passed in to the Handle class's writeObject.
Parameters: home - The EJBHome reference to be serialized. Parameters: out - The output stream. throws: IOException - The EJBObject could not be deserialized because of asystem-level failure. |
writeEJBObject | public void writeEJBObject(EJBObject ejb, ObjectOutputStream out) throws IOException(Code) | | Serialize the EJBObject reference corresponding to a Handle. This method
is called from the writeObject method of portable Handle implementation
classes. The ostream object is the same object that was passed in to the
Handle class's writeObject.
Parameters: ejb - The EJBObject reference to be serialized. Parameters: out - The output stream. throws: IOException - The EJBObject could not be serialized because of asystem-level failure. |
|
|
|