activationid.html
来自「API資料大全」· HTML 代码 · 共 361 行 · 第 1/2 页
HTML
361 行
<A HREF="../../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A> ssf)</CODE><BR> Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/rmi/MarshalledObject.html">MarshalledObject</A></CODE></FONT></TD><TD><CODE><B>Activator.</B><B><A HREF="../../../../java/rmi/activation/Activator.html#activate(java.rmi.activation.ActivationID, boolean)">activate</A></B>(<A HREF="../../../../java/rmi/activation/ActivationID.html">ActivationID</A> id, boolean force)</CODE><BR> Activate the object associated 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> void</CODE></FONT></TD><TD><CODE><B>ActivationSystem.</B><B><A HREF="../../../../java/rmi/activation/ActivationSystem.html#unregisterObject(java.rmi.activation.ActivationID)">unregisterObject</A></B>(<A HREF="../../../../java/rmi/activation/ActivationID.html">ActivationID</A> id)</CODE><BR> Remove the activation id and associated descriptor previously registered with the <code>ActivationSystem</code>; the object can no longer be activated via the object's activation id.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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> id, <A HREF="../../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A> desc)</CODE><BR> 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> <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> id)</CODE><BR> 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> <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> id, <A HREF="../../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A> desc)</CODE><BR> 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> 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> id)</CODE><BR> 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 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> id, <A HREF="../../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> 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 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> id, <A HREF="../../../../java/rmi/MarshalledObject.html">MarshalledObject</A> mobj)</CODE><BR> 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> 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> id)</CODE><BR> 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> 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> id, <A HREF="../../../../java/rmi/MarshalledObject.html">MarshalledObject</A> obj)</CODE><BR> Informs that an object is now active.</TD></TR></TABLE> <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> with parameters of type <A HREF="../../../../java/rmi/activation/ActivationID.html">ActivationID</A></FONT></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> id, int port)</CODE><BR> 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> id, int port, <A HREF="../../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A> csf, <A HREF="../../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A> ssf)</CODE><BR> Constructor used to activate/export the object on a specified port.</TD></TR></TABLE> <P><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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../java/rmi/activation/ActivationID.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="ActivationID.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 + -
显示快捷键?