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

📄 naming.html

📁 请笑纳 请笑纳 请笑纳 请笑纳 请笑纳 请笑纳
💻 HTML
📖 第 1 页 / 共 2 页
字号:
 with a remote object.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="lookup(java.lang.String)"><!-- --></A><H3>lookup</H3><PRE>public static <A HREF="../../java/rmi/Remote.html">Remote</A> <B>lookup</B>(java.lang.String&nbsp;name)                     throws <A HREF="../../java/rmi/NotBoundException.html">NotBoundException</A>,                            java.net.MalformedURLException,                            <A HREF="../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Returns a reference, a stub, for the remote object associated with the specified <code>name</code>.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a name in URL format (without the scheme component)<DT><B>Returns:</B><DD>a reference for a remote object<DT><B>Throws:</B><DD><CODE><A HREF="../../java/rmi/NotBoundException.html">NotBoundException</A></CODE> - if name is not currently bound<DD><CODE><A HREF="../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if registry could not be contacted<DD><CODE><A HREF="../../java/rmi/AccessException.html">AccessException</A></CODE> - if this operation is not permitted<DD><CODE>java.net.MalformedURLException</CODE> - if the name is not an appropriately  formatted URL<DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="bind(java.lang.String, java.rmi.Remote)"><!-- --></A><H3>bind</H3><PRE>public static void <B>bind</B>(java.lang.String&nbsp;name,                        <A HREF="../../java/rmi/Remote.html">Remote</A>&nbsp;obj)                 throws <A HREF="../../java/rmi/AlreadyBoundException.html">AlreadyBoundException</A>,                        java.net.MalformedURLException,                        <A HREF="../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Binds the specified <code>name</code> to a remote object.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a name in URL format (without the scheme component)<DD><CODE>obj</CODE> - a reference for the remote object (usually a stub)<DT><B>Throws:</B><DD><CODE><A HREF="../../java/rmi/AlreadyBoundException.html">AlreadyBoundException</A></CODE> - if name is already bound<DD><CODE>java.net.MalformedURLException</CODE> - if the name is not an appropriately  formatted URL<DD><CODE><A HREF="../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if registry could not be contacted<DD><CODE><A HREF="../../java/rmi/AccessException.html">AccessException</A></CODE> - if this operation is not permitted (if originating from a non-local host, for example)<DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="unbind(java.lang.String)"><!-- --></A><H3>unbind</H3><PRE>public static void <B>unbind</B>(java.lang.String&nbsp;name)                   throws <A HREF="../../java/rmi/RemoteException.html">RemoteException</A>,                          <A HREF="../../java/rmi/NotBoundException.html">NotBoundException</A>,                          java.net.MalformedURLException</PRE><DL><DD>Destroys the binding for the specified name that is associated with a remote object.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a name in URL format (without the scheme component)<DT><B>Throws:</B><DD><CODE><A HREF="../../java/rmi/NotBoundException.html">NotBoundException</A></CODE> - if name is not currently bound<DD><CODE>java.net.MalformedURLException</CODE> - if the name is not an appropriately  formatted URL<DD><CODE><A HREF="../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if registry could not be contacted<DD><CODE><A HREF="../../java/rmi/AccessException.html">AccessException</A></CODE> - if this operation is not permitted (if originating from a non-local host, for example)<DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="rebind(java.lang.String, java.rmi.Remote)"><!-- --></A><H3>rebind</H3><PRE>public static void <B>rebind</B>(java.lang.String&nbsp;name,                          <A HREF="../../java/rmi/Remote.html">Remote</A>&nbsp;obj)                   throws <A HREF="../../java/rmi/RemoteException.html">RemoteException</A>,                          java.net.MalformedURLException</PRE><DL><DD>Rebinds the specified name to a new remote object. Any existing binding for the name is replaced.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a name in URL format (without the scheme component)<DD><CODE>obj</CODE> - new remote object to associate with the name<DT><B>Throws:</B><DD><CODE>java.net.MalformedURLException</CODE> - if the name is not an appropriately  formatted URL<DD><CODE><A HREF="../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if registry could not be contacted<DD><CODE><A HREF="../../java/rmi/AccessException.html">AccessException</A></CODE> - if this operation is not permitted (if originating from a non-local host, for example)<DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="list(java.lang.String)"><!-- --></A><H3>list</H3><PRE>public static java.lang.String[] <B>list</B>(java.lang.String&nbsp;name)                               throws <A HREF="../../java/rmi/RemoteException.html">RemoteException</A>,                                      java.net.MalformedURLException</PRE><DL><DD>Returns an array of the names bound in the registry.  The names are URL-formatted (without the scheme component) strings. The array contains a snapshot of the names present in the registry at the time of the call.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a registry name in URL format (without the scheme		component)<DT><B>Returns:</B><DD>an array of names (in the appropriate format) bound 		in the registry<DT><B>Throws:</B><DD><CODE>java.net.MalformedURLException</CODE> - if the name is not an appropriately  formatted URL<DD><CODE><A HREF="../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if registry could not be contacted.<DT><B>Since: </B><DD>JDK1.1</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="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;<A HREF="../../java/rmi/MarshalledObject.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../java/rmi/RMISecurityManager.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="Naming.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</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 + -