package-summary.html
来自「API資料大全」· HTML 代码 · 共 283 行
HTML
283 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Apr 27 23:31:44 PDT 2000 --><TITLE>Java 2 Platform SE v1.3: Package java.rmi</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../java/net/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../java/rmi/activation/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><H2>Package java.rmi</H2>Provides the RMI package.<P><B>See: </B><BR> <A HREF="#package_description"><B>Description</B></A><P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Interface Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Remote.html"><I>Remote</I></A></B></TD><TD>The <code>Remote</code> interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="MarshalledObject.html">MarshalledObject</A></B></TD><TD>A <code>MarshalledObject</code> contains a byte stream with the serialized representation of an object given to its constructor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Naming.html">Naming</A></B></TD><TD>The <code>Naming</code> class provides methods for storing and obtaining references to remote objects in the remote object registry.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="RMISecurityManager.html">RMISecurityManager</A></B></TD><TD><code>RMISecurityManager</code> provides an example security manager for use by RMI applications that use downloaded code.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Exception Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessException.html">AccessException</A></B></TD><TD>An <code>AccessException</code> is thrown by certain methods of the <code>java.rmi.Naming</code> class (specifically <code>bind</code>, <code>rebind</code>, and <code>unbind</code>) and methods of the <code>java.rmi.activation.ActivationSystem</code> interface to indicate that the caller does not have permission to perform the action requested by the method call.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AlreadyBoundException.html">AlreadyBoundException</A></B></TD><TD>An <code>AlreadyBoundException</code> is thrown if an attempt is made to bind an object in the registry to a name that already has an associated binding.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ConnectException.html">ConnectException</A></B></TD><TD>A <code>ConnectException</code> is thrown if a connection is refused to the remote host for a remote method call.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ConnectIOException.html">ConnectIOException</A></B></TD><TD>A <code>ConnectIOException</code> is thrown if an <code>IOException</code> occurs while making a connection to the remote host for a remote method call.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="MarshalException.html">MarshalException</A></B></TD><TD>A <code>MarshalException</code> is thrown if a <code>java.io.IOException</code> occurs while marshalling the remote call header, arguments or return value for a remote method call.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NoSuchObjectException.html">NoSuchObjectException</A></B></TD><TD>A <code>NoSuchObjectException</code> is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NotBoundException.html">NotBoundException</A></B></TD><TD>A <code>NotBoundException</code> is thrown if an attempt is made to lookup or unbind in the registry a name that has no associated binding.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="RemoteException.html">RemoteException</A></B></TD><TD>A <code>RemoteException</code> is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="RMISecurityException.html">RMISecurityException</A></B></TD><TD><B>Deprecated.</B> <I>no replacement.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ServerError.html">ServerError</A></B></TD><TD>A <code>ServerError</code> is thrown as a result of a remote method call if the execution of the remote method on the server machine throws a <code>java.lang.Error</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ServerException.html">ServerException</A></B></TD><TD>A <code>ServerException</code> is thrown as a result of a remote method call if the execution of the remote method on the server machine throws a <code>RemoteException</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ServerRuntimeException.html">ServerRuntimeException</A></B></TD><TD><B>Deprecated.</B> <I>no replacement</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StubNotFoundException.html">StubNotFoundException</A></B></TD><TD>A <code>StubNotFoundException</code> is thrown if a valid stub class could not be found for a remote object when it is exported.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnexpectedException.html">UnexpectedException</A></B></TD><TD>An <code>UnexpectedException</code> is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in the <code>throws</code> clause of the method in the remote interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnknownHostException.html">UnknownHostException</A></B></TD><TD>An <code>UnknownHostException</code> is thrown if a <code>java.net.UnknownHostException</code> occurs while creating a connection to the remote host for a remote method call.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnmarshalException.html">UnmarshalException</A></B></TD><TD>An <code>UnmarshalException</code> can be thrown while unmarshalling the parameters or results of a remote method call if any of the following conditions occur: if an exception occurs while unmarshalling the call header if the protocol for the return value is invalid if a <code>java.io.IOException</code> occurs unmarshalling parameters (on the server side) or the return value (on the client side).</TD></TR></TABLE> <P><A NAME="package_description"><!-- --></A><H2>Package java.rmi Description</H2><P>Provides the RMI package. RMI is Remote Method Invocation. It is amechanism that enables an object on one Java virtual machine to invokemethods on an object in another Java virtual machine. Any object thatcan be invoked this way must implement the Remote interface. When suchan object is invoked, its arguments are ``marshalled'' and sent from thelocal virtual machine to the remote one, where the arguments are``unmarshalled.'' When the method terminates, the results aremarshalled from the remote machine and sent to the caller's virtualmachine. If the method invocation results in an exception beingthrown, the exception is indicated to caller.<!--<h2>Package Specification</h2>##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####<ul> <li><a href="">##### REFER TO ANY FRAMEMAKER SPECIFICATION HERE #####</a></ul><h2>Related Documentation</h2>For overviews, tutorials, examples, guides, and tool documentation, please see:<ul> <li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a></ul>--><P><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../java/net/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../java/rmi/activation/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?