activationsystem.html

来自「API資料大全」· HTML 代码 · 共 511 行 · 第 1/3 页

HTML
511
字号
                            <A HREF="../../../java/rmi/activation/UnknownGroupException.html">UnknownGroupException</A>,                            <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Remove the activation group. An activation group makes this call back to inform the activator that the group should be removed (destroyed). If this call completes successfully, objects can no longer be registered or activated within the group. All information of the group and its associated objects is removed from the system.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the activation group's identifier<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A></CODE> - if unregister fails (e.g., database update failure, etc).<DD><CODE><A HREF="../../../java/rmi/activation/UnknownGroupException.html">UnknownGroupException</A></CODE> - if group is not registered<DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if remote call fails<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><A NAME="shutdown()"><!-- --></A><H3>shutdown</H3><PRE>public void <B>shutdown</B>()              throws <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Shutdown the activation system. Destroys all groups spawned by the activation daemon and exits the activation daemon.<DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if failed to contact/shutdown the activation daemon<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><A NAME="setActivationDesc(java.rmi.activation.ActivationID, java.rmi.activation.ActivationDesc)"><!-- --></A><H3>setActivationDesc</H3><PRE>public <A HREF="../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A> <B>setActivationDesc</B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id,                                        <A HREF="../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A>&nbsp;desc)                                 throws <A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A>,                                        <A HREF="../../../java/rmi/activation/UnknownObjectException.html">UnknownObjectException</A>,                                        <A HREF="../../../java/rmi/activation/UnknownGroupException.html">UnknownGroupException</A>,                                        <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Set the activation descriptor, <code>desc</code> for the object with the activation identifier, <code>id</code>. The change will take effect upon subsequent activation of the object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the activation identifier for the activatable object<DD><CODE>desc</CODE> - the activation descriptor for the activatable object<DT><B>Returns:</B><DD>the previous value of the activation descriptor<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/activation/UnknownGroupException.html">UnknownGroupException</A></CODE> - the group associated with <code>desc</code> is not a registered group<DD><CODE><A HREF="../../../java/rmi/activation/UnknownObjectException.html">UnknownObjectException</A></CODE> - the activation <code>id</code> is not registered<DD><CODE><A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A></CODE> - for general failure (e.g., unable to update log)<DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if remote call fails<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><A NAME="setActivationGroupDesc(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationGroupDesc)"><!-- --></A><H3>setActivationGroupDesc</H3><PRE>public <A HREF="../../../java/rmi/activation/ActivationGroupDesc.html">ActivationGroupDesc</A> <B>setActivationGroupDesc</B>(<A HREF="../../../java/rmi/activation/ActivationGroupID.html">ActivationGroupID</A>&nbsp;id,                                                  <A HREF="../../../java/rmi/activation/ActivationGroupDesc.html">ActivationGroupDesc</A>&nbsp;desc)                                           throws <A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A>,                                                  <A HREF="../../../java/rmi/activation/UnknownGroupException.html">UnknownGroupException</A>,                                                  <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Set the activation group descriptor, <code>desc</code> for the object with the activation group identifier, <code>id</code>. The change will take effect upon subsequent activation of the group.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the activation group identifier for the activation group<DD><CODE>desc</CODE> - the activation group descriptor for the activation group<DT><B>Returns:</B><DD>the previous value of the activation group descriptor<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/activation/UnknownGroupException.html">UnknownGroupException</A></CODE> - the group associated with <code>id</code> is not a registered group<DD><CODE><A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A></CODE> - for general failure (e.g., unable to update log)<DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if remote call fails<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><A NAME="getActivationDesc(java.rmi.activation.ActivationID)"><!-- --></A><H3>getActivationDesc</H3><PRE>public <A HREF="../../../java/rmi/activation/ActivationDesc.html">ActivationDesc</A> <B>getActivationDesc</B>(<A HREF="../../../java/rmi/activation/ActivationID.html">ActivationID</A>&nbsp;id)                                 throws <A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A>,                                        <A HREF="../../../java/rmi/activation/UnknownObjectException.html">UnknownObjectException</A>,                                        <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Returns the activation descriptor, for the object with the activation identifier, <code>id</code>.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the activation identifier for the activatable object<DT><B>Returns:</B><DD>the activation descriptor<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/activation/UnknownObjectException.html">UnknownObjectException</A></CODE> - if <code>id</code> is not registered<DD><CODE><A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A></CODE> - for general failure<DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if remote call fails<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><A NAME="getActivationGroupDesc(java.rmi.activation.ActivationGroupID)"><!-- --></A><H3>getActivationGroupDesc</H3><PRE>public <A HREF="../../../java/rmi/activation/ActivationGroupDesc.html">ActivationGroupDesc</A> <B>getActivationGroupDesc</B>(<A HREF="../../../java/rmi/activation/ActivationGroupID.html">ActivationGroupID</A>&nbsp;id)                                           throws <A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A>,                                                  <A HREF="../../../java/rmi/activation/UnknownGroupException.html">UnknownGroupException</A>,                                                  <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Returns the activation group descriptor, for the group with the activation group identifier, <code>id</code>.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the activation group identifier for the group<DT><B>Returns:</B><DD>the activation group descriptor<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/activation/UnknownGroupException.html">UnknownGroupException</A></CODE> - if <code>id</code> is not registered<DD><CODE><A HREF="../../../java/rmi/activation/ActivationException.html">ActivationException</A></CODE> - for general failure<DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if remote call fails<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><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="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ActivationSystem.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../java/rmi/activation/ActivationMonitor.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../java/rmi/activation/Activator.html"><B>NEXT CLASS</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="ActivationSystem.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</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 + -
显示快捷键?