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

📄 package-summary.html

📁 请笑纳 请笑纳 请笑纳 请笑纳 请笑纳 请笑纳
💻 HTML
字号:
<!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 May 30 13:46:48 EDT 2002 --><TITLE>J2ME RMI Optional Package Specification v1.0: 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>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</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-files/index-1.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>J2ME RMI Optional Package</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV PACKAGE&nbsp;&nbsp;<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>  &nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;<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 a 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>&nbsp;<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="ServerError.html">ServerError</A></B></TD><TD>A <code>ServerError</code> is thrown as a result of a remote method invocation when an <code>Error</code> is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.</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 invocation when a <code>RemoteException</code> is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.</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>&nbsp;<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>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</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-files/index-1.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>J2ME RMI Optional Package</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV PACKAGE&nbsp;&nbsp;<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>  &nbsp;&nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1">Copyright 1994-2002 Sun Microsystems, Inc. All Rights Reserved.</font> </BODY></HTML>

⌨️ 快捷键说明

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