⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 handledelegate.html

📁 j2ee帮助文档软件设计/软件工程 文件格式
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="writeEJBObject(javax.ejb.EJBObject, java.io.ObjectOutputStream)"><!-- --></A><H3>writeEJBObject</H3><PRE>void <B>writeEJBObject</B>(<A HREF="../../../javax/ejb/EJBObject.html" title="interface in javax.ejb">EJBObject</A>&nbsp;ejbObject,                    <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/ObjectOutputStream.html" title="class or interface in java.io">ObjectOutputStream</A>&nbsp;ostream)                    throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Serialize the EJBObject reference corresponding to a Handle. <p> 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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ejbObject</CODE> - The EJBObject reference to be serialized.<DD><CODE>ostream</CODE> - The output stream.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - The EJBObject could not be serialized    because of a system-level failure.</DL></DD></DL><HR><A NAME="readEJBObject(java.io.ObjectInputStream)"><!-- --></A><H3>readEJBObject</H3><PRE><A HREF="../../../javax/ejb/EJBObject.html" title="interface in javax.ejb">EJBObject</A> <B>readEJBObject</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/ObjectInputStream.html" title="class or interface in java.io">ObjectInputStream</A>&nbsp;istream)                        throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A>,                               <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></PRE><DL><DD>Deserialize the EJBObject reference corresponding to a Handle. <p> 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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>istream</CODE> - The input stream.<DT><B>Returns:</B><DD>The deserialized EJBObject reference.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - The EJBObject could not be deserialized    because of a system-level failure.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></CODE> - The EJBObject could not be deserialized    because some class could not be found.</DL></DD></DL><HR><A NAME="writeEJBHome(javax.ejb.EJBHome, java.io.ObjectOutputStream)"><!-- --></A><H3>writeEJBHome</H3><PRE>void <B>writeEJBHome</B>(<A HREF="../../../javax/ejb/EJBHome.html" title="interface in javax.ejb">EJBHome</A>&nbsp;ejbHome,                  <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/ObjectOutputStream.html" title="class or interface in java.io">ObjectOutputStream</A>&nbsp;ostream)                  throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Serialize the EJBHome reference corresponding to a HomeHandle. <p> 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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ejbHome</CODE> - The EJBHome reference to be serialized.<DD><CODE>ostream</CODE> - The output stream.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - The EJBObject could not be serialized    because of a system-level failure.</DL></DD></DL><HR><A NAME="readEJBHome(java.io.ObjectInputStream)"><!-- --></A><H3>readEJBHome</H3><PRE><A HREF="../../../javax/ejb/EJBHome.html" title="interface in javax.ejb">EJBHome</A> <B>readEJBHome</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/ObjectInputStream.html" title="class or interface in java.io">ObjectInputStream</A>&nbsp;istream)                    throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A>,                           <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></PRE><DL><DD>Deserialize the EJBHome reference corresponding to a HomeHandle. <p> 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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>istream</CODE> - The input stream.<DT><B>Returns:</B><DD>The deserialized EJBHome reference.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - The EJBHome could not be deserialized    because of a system-level failure.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></CODE> - The EJBHome could not be deserialized    because some class could not be found.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/ejb/spi/HandleDelegate.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="HandleDelegate.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -