remoteexception.html

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

HTML
1,127
字号
<TD><CODE><B>ActivationSystem.</B><B><A HREF="../../../java/rmi/activation/ActivationSystem.html#activeGroup(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationInstantiator, long)">activeGroup</A></B>(<A HREF="../../../java/rmi/activation/ActivationGroupID.html">ActivationGroupID</A>&nbsp;id,            <A HREF="../../../java/rmi/activation/ActivationInstantiator.html">ActivationInstantiator</A>&nbsp;group,            long&nbsp;incarnation)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Callback to inform activation system that group is now active.</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>ActivationSystem.</B><B><A HREF="../../../java/rmi/activation/ActivationSystem.html#unregisterGroup(java.rmi.activation.ActivationGroupID)">unregisterGroup</A></B>(<A HREF="../../../java/rmi/activation/ActivationGroupID.html">ActivationGroupID</A>&nbsp;id)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the activation group.</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>ActivationSystem.</B><B><A HREF="../../../java/rmi/activation/ActivationSystem.html#shutdown()">shutdown</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shutdown the activation system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A></CODE></FONT></TD><TD><CODE><B>ActivationSystem.</B><B><A HREF="../../../java/rmi/activation/ActivationSystem.html#setActivationDesc(java.rmi.activation.ActivationID, java.rmi.activation.ActivationDesc)">setActivationDesc</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id,                  <A HREF="../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A>&nbsp;desc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the activation descriptor, <code>desc</code> for the object with the activation identifier, <code>id</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/activation/ActivationGroupDesc.html">ActivationGroupDesc</A></CODE></FONT></TD><TD><CODE><B>ActivationSystem.</B><B><A HREF="../../../java/rmi/activation/ActivationSystem.html#setActivationGroupDesc(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationGroupDesc)">setActivationGroupDesc</A></B>(<A HREF="../../../java/rmi/activation/ActivationGroupID.html">ActivationGroupID</A>&nbsp;id,                       <A HREF="../../../java/rmi/activation/ActivationGroupDesc.html">ActivationGroupDesc</A>&nbsp;desc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the activation group descriptor, <code>desc</code> for the object with the activation group identifier, <code>id</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A></CODE></FONT></TD><TD><CODE><B>ActivationSystem.</B><B><A HREF="../../../java/rmi/activation/ActivationSystem.html#getActivationDesc(java.rmi.activation.ActivationID)">getActivationDesc</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the activation descriptor, for the object with the activation identifier, <code>id</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/activation/ActivationGroupDesc.html">ActivationGroupDesc</A></CODE></FONT></TD><TD><CODE><B>ActivationSystem.</B><B><A HREF="../../../java/rmi/activation/ActivationSystem.html#getActivationGroupDesc(java.rmi.activation.ActivationGroupID)">getActivationGroupDesc</A></B>(<A HREF="../../../java/rmi/activation/ActivationGroupID.html">ActivationGroupID</A>&nbsp;id)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the activation group descriptor, for the group with the activation group identifier, <code>id</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/rmi/MarshalledObject.html">MarshalledObject</A></CODE></FONT></TD><TD><CODE><B>ActivationInstantiator.</B><B><A HREF="../../../java/rmi/activation/ActivationInstantiator.html#newInstance(java.rmi.activation.ActivationID, java.rmi.activation.ActivationDesc)">newInstance</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id,            <A HREF="../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A>&nbsp;desc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The activator calls an instantiator's <code>newInstance</code> method in order to recreate in that group an object with the activation identifier, <code>id</code>, and descriptor, <code>desc</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>ActivationGroup.</B><B><A HREF="../../../java/rmi/activation/ActivationGroup.html#inactiveObject(java.rmi.activation.ActivationID)">inactiveObject</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The group's <code>inactiveObject</code> method is called indirectly via a call to the <code>Activatable.inactive</code> method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B>ActivationGroup.</B><B><A HREF="../../../java/rmi/activation/ActivationGroup.html#activeObject(java.rmi.activation.ActivationID, java.rmi.Remote)">activeObject</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id,             <A HREF="../../../java/rmi/Remote.html">Remote</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The group's <code>activeObject</code> method is called when an object is exported (either by <code>Activatable</code> object construction or an explicit call to <code>Activatable.exportObject</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>ActivationGroup.</B><B><A HREF="../../../java/rmi/activation/ActivationGroup.html#activeObject(java.rmi.activation.ActivationID, java.rmi.MarshalledObject)">activeObject</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id,             <A HREF="../../../java/rmi/MarshalledObject.html">MarshalledObject</A>&nbsp;mobj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This protected method is necessary for subclasses to make the <code>activeObject</code> callback to the group's monitor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>ActivationGroup.</B><B><A HREF="../../../java/rmi/activation/ActivationGroup.html#inactiveGroup()">inactiveGroup</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This protected method is necessary for subclasses to make the <code>inactiveGroup</code> callback to the group's monitor.</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>ActivationID.</B><B><A HREF="../../../java/rmi/activation/ActivationID.html#activate(boolean)">activate</A></B>(boolean&nbsp;force)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Activate the object for this id.</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>ActivationMonitor.</B><B><A HREF="../../../java/rmi/activation/ActivationMonitor.html#inactiveObject(java.rmi.activation.ActivationID)">inactiveObject</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An activation group calls its monitor's <code>inactiveObject</code> method when an object in its group becomes inactive (deactivates).</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>ActivationMonitor.</B><B><A HREF="../../../java/rmi/activation/ActivationMonitor.html#activeObject(java.rmi.activation.ActivationID, java.rmi.MarshalledObject)">activeObject</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id,             <A HREF="../../../java/rmi/MarshalledObject.html">MarshalledObject</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Informs that an object is now active.</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>ActivationMonitor.</B><B><A HREF="../../../java/rmi/activation/ActivationMonitor.html#inactiveGroup(java.rmi.activation.ActivationGroupID, long)">inactiveGroup</A></B>(<A HREF="../../../java/rmi/activation/ActivationGroupID.html">ActivationGroupID</A>&nbsp;id,              long&nbsp;incarnation)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Informs that the group is now inactive.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/rmi/activation/package-summary.html">java.rmi.activation</A> that throw <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/rmi/activation/Activatable.html#Activatable(java.lang.String, java.rmi.MarshalledObject, boolean, int)">Activatable</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;location,            <A HREF="../../../java/rmi/MarshalledObject.html">MarshalledObject</A>&nbsp;data,            boolean&nbsp;restart,            int&nbsp;port)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) .</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/rmi/activation/Activatable.html#Activatable(java.lang.String, java.rmi.MarshalledObject, boolean, int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)">Activatable</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;location,            <A HREF="../../../java/rmi/MarshalledObject.html">MarshalledObject</A>&nbsp;data,            boolean&nbsp;restart,            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;Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) .</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/rmi/activation/Activatable.html#Activatable(java.rmi.activation.ActivationID, int)">Activatable</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id,            int&nbsp;port)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor used to activate/export the object on a specified port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/rmi/activation/Activatable.html#Activatable(java.rmi.activation.ActivationID, int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)">Activatable</A></B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id,            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;Constructor used to activate/export the object on a specified port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/rmi/activation/ActivationGroup.html#ActivationGroup(java.rmi.activation.ActivationGroupID)">ActivationGroup</A></B>(<A HREF="../../../java/rmi/activation/ActivationGroupID.html">ActivationGroupID</A>&nbsp;groupID)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs and exports an activation group as a UnicastRemoteObject so that a client can invoke its newInstance method.</TD></TR></TABLE>&nbsp;<P><A NAME="java.rmi.dgc"><!-- --></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/dgc/package-summary.html">java.rmi.dgc</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/dgc/package-summary.html">java.rmi.dgc</A> that throw <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">

⌨️ 快捷键说明

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