remoteexception.html

来自「API資料大全」· HTML 代码 · 共 1,127 行 · 第 1/5 页

HTML
1,127
字号
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/dgc/Lease.html">Lease</A></CODE></FONT></TD><TD><CODE><B>DGC.</B><B><A HREF="../../../java/rmi/dgc/DGC.html#dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)">dirty</A></B>(<A HREF="../../../java/rmi/server/ObjID.html">ObjID</A>[]&nbsp;ids,      long&nbsp;sequenceNum,      <A HREF="../../../java/rmi/dgc/Lease.html">Lease</A>&nbsp;lease)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The dirty call requests leases for the remote object references associated with the object identifiers contained in the array 'ids'.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>DGC.</B><B><A HREF="../../../java/rmi/dgc/DGC.html#clean(java.rmi.server.ObjID[], long, java.rmi.dgc.VMID, boolean)">clean</A></B>(<A HREF="../../../java/rmi/server/ObjID.html">ObjID</A>[]&nbsp;ids,      long&nbsp;sequenceNum,      <A HREF="../../../java/rmi/dgc/VMID.html">VMID</A>&nbsp;vmid,      boolean&nbsp;strong)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The clean call removes the 'vmid' from the reference list of each remote object indicated in 'id's.</TD></TR></TABLE>&nbsp;<P><A NAME="java.rmi.registry"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A> in <A HREF="../../../java/rmi/registry/package-summary.html">java.rmi.registry</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/rmi/registry/package-summary.html">java.rmi.registry</A> that throw <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>Registry.</B><B><A HREF="../../../java/rmi/registry/Registry.html#lookup(java.lang.String)">lookup</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a reference, a stub, for the remote object associated with the specified <code>name</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>Registry.</B><B><A HREF="../../../java/rmi/registry/Registry.html#bind(java.lang.String, java.rmi.Remote)">bind</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,     <A HREF="../../../java/rmi/Remote.html">Remote</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds the specified <code>name</code> to a remote object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>Registry.</B><B><A HREF="../../../java/rmi/registry/Registry.html#unbind(java.lang.String)">unbind</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Destroys the binding for the specified name that is associated with a remote object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>Registry.</B><B><A HREF="../../../java/rmi/registry/Registry.html#rebind(java.lang.String, java.rmi.Remote)">rebind</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,       <A HREF="../../../java/rmi/Remote.html">Remote</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rebinds the specified name to a new remote object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/String.html">String</A>[]</CODE></FONT></TD><TD><CODE><B>Registry.</B><B><A HREF="../../../java/rmi/registry/Registry.html#list()">list</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of the names bound in the registry.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>RegistryHandler.</B><B><A HREF="../../../java/rmi/registry/RegistryHandler.html#registryStub(java.lang.String, int)">registryStub</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;host,             int&nbsp;port)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>no replacement.  As of the Java 2 platform v1.2, RMI no longer uses the <code>RegistryHandler</code> to obtain the registry's stub.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>RegistryHandler.</B><B><A HREF="../../../java/rmi/registry/RegistryHandler.html#registryImpl(int)">registryImpl</A></B>(int&nbsp;port)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>no replacement.  As of the Java 2 platform v1.2, RMI no longer uses the <code>RegistryHandler</code> to obtain the registry's implementation.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>LocateRegistry.</B><B><A HREF="../../../java/rmi/registry/LocateRegistry.html#getRegistry()">getRegistry</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a reference to the the remote object <code>Registry</code> for the local host on the default registry port of 1099.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>LocateRegistry.</B><B><A HREF="../../../java/rmi/registry/LocateRegistry.html#getRegistry(int)">getRegistry</A></B>(int&nbsp;port)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a reference to the the remote object <code>Registry</code> for the local host on the specified <code>port</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>LocateRegistry.</B><B><A HREF="../../../java/rmi/registry/LocateRegistry.html#getRegistry(java.lang.String)">getRegistry</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;host)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a reference to the remote object <code>Registry</code> on the specified <code>host</code> on the default registry port of 1099.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>LocateRegistry.</B><B><A HREF="../../../java/rmi/registry/LocateRegistry.html#getRegistry(java.lang.String, int)">getRegistry</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;host,            int&nbsp;port)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a reference to the remote object <code>Registry</code> on the specified <code>host</code> and <code>port</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>LocateRegistry.</B><B><A HREF="../../../java/rmi/registry/LocateRegistry.html#getRegistry(java.lang.String, int, java.rmi.server.RMIClientSocketFactory)">getRegistry</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;host,            int&nbsp;port,            <A HREF="../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A>&nbsp;csf)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a locally created remote reference to the remote object <code>Registry</code> on the specified <code>host</code> and <code>port</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>LocateRegistry.</B><B><A HREF="../../../java/rmi/registry/LocateRegistry.html#createRegistry(int)">createRegistry</A></B>(int&nbsp;port)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and exports a <code>Registry</code> on the local host that accepts requests on the specified <code>port</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/rmi/registry/Registry.html">Registry</A></CODE></FONT></TD><TD><CODE><B>LocateRegistry.</B><B><A HREF="../../../java/rmi/registry/LocateRegistry.html#createRegistry(int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)">createRegistry</A></B>(int&nbsp;port,               <A HREF="../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A>&nbsp;csf,               <A HREF="../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A>&nbsp;ssf)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and exports a <code>Registry</code> on the local host that uses custom socket factories for communication with that registry.</TD></TR></TABLE>&nbsp;<P><A NAME="java.rmi.server"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A> in <A HREF="../../../java/rmi/server/package-summary.html">java.rmi.server</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Subclasses of <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A> in <A HREF="../../../java/rmi/server/package-summary.html">java.rmi.server</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/rmi/server/ExportException.html">ExportException</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An <code>ExportException</code> is a <code>RemoteException</code> thrown if an attempt to export a remote object fails.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/rmi/server/SkeletonMismatchException.html">SkeletonMismatchException</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>no replacement.  Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/rmi/server/SkeletonNotFoundException.html">SkeletonNotFoundException</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>no replacement.  Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/rmi/server/SocketSecurityException.html">SocketSecurityException</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <code>SocketSecurityException</code> is thrown during remote object export if the code exporting the remote object (either by construction

⌨️ 快捷键说明

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