📄 _namingcontextstub.html
字号:
<DD>Following copied from interface: <CODE>org.omg.CosNaming.NamingContextOperations</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - Name of the object <p><DD><CODE>nc</CODE> - NamingContect object to rebind with the given name <p><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotFound.html">NotFound</A></CODE> - Indicates the name does not identify a binding.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/CannotProceed.html">CannotProceed</A></CODE> - Indicates that the implementation has given up for some reason. The client, however, may be able to continue the operation at the returned naming context.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/InvalidName.html">InvalidName</A></CODE> - Indicates that the name is invalid. <p></DL></DD></DL><HR><A NAME="resolve(org.omg.CosNaming.NameComponent[])"><!-- --></A><H3>resolve</H3><PRE>public <A HREF="../../../org/omg/CORBA/Object.html">Object</A> <B>resolve</B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[] n) throws <A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotFound.html">NotFound</A>, <A HREF="../../../org/omg/CosNaming/NamingContextPackage/CannotProceed.html">CannotProceed</A>, <A HREF="../../../org/omg/CosNaming/NamingContextPackage/InvalidName.html">InvalidName</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><DD>The resolve operation is the process of retrieving an object bound to a name in a given context. The given name must exactly match the bound name. The naming service does not return the type of the object. Clients are responsible for "narrowing" the object to the appropriate type. That is, clients typically cast the returned object from Object to a more specialized interface.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#resolve(org.omg.CosNaming.NameComponent[])">resolve</A></CODE> in interface <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CosNaming.NamingContextOperations</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - Name of the object <p><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotFound.html">NotFound</A></CODE> - Indicates the name does not identify a binding.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/CannotProceed.html">CannotProceed</A></CODE> - Indicates that the implementation has given up for some reason. The client, however, may be able to continue the operation at the returned naming context.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/InvalidName.html">InvalidName</A></CODE> - Indicates that the name is invalid. <p></DL></DD></DL><HR><A NAME="unbind(org.omg.CosNaming.NameComponent[])"><!-- --></A><H3>unbind</H3><PRE>public void <B>unbind</B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[] n) throws <A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotFound.html">NotFound</A>, <A HREF="../../../org/omg/CosNaming/NamingContextPackage/CannotProceed.html">CannotProceed</A>, <A HREF="../../../org/omg/CosNaming/NamingContextPackage/InvalidName.html">InvalidName</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><DD>The unbind operation removes a name binding from a context.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#unbind(org.omg.CosNaming.NameComponent[])">unbind</A></CODE> in interface <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CosNaming.NamingContextOperations</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - Name of the object <p><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotFound.html">NotFound</A></CODE> - Indicates the name does not identify a binding.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/CannotProceed.html">CannotProceed</A></CODE> - Indicates that the implementation has given up for some reason. The client, however, may be able to continue the operation at the returned naming context.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/InvalidName.html">InvalidName</A></CODE> - Indicates that the name is invalid. <p></DL></DD></DL><HR><A NAME="list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder)"><!-- --></A><H3>list</H3><PRE>public void <B>list</B>(int how_many, <A HREF="../../../org/omg/CosNaming/BindingListHolder.html">BindingListHolder</A> bl, <A HREF="../../../org/omg/CosNaming/BindingIteratorHolder.html">BindingIteratorHolder</A> bi)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><DD>The list operation allows a client to iterate through a set of bindings in a naming context. <p> The list operation returns at most the requested number of bindings in BindingList bl. <ul> <li>If the naming context contains additional bindings, the list operation returns a BindingIterator with the additional bindings. <li>If the naming context does not contain additional bindings, the binding iterator is a nil object reference. </ul><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder)">list</A></CODE> in interface <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CosNaming.NamingContextOperations</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>how_many</CODE> - the maximum number of bindings to return <p><DD><CODE>bl</CODE> - the returned list of bindings <p><DD><CODE>bi</CODE> - the returned binding iterator <p></DL></DD></DL><HR><A NAME="new_context()"><!-- --></A><H3>new_context</H3><PRE>public <A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A> <B>new_context</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><DD>This operation returns a naming context implemented by the same naming server as the context on which the operation was invoked. The new context is not bound to any name.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#new_context()">new_context</A></CODE> in interface <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></DL></DD></DL><HR><A NAME="bind_new_context(org.omg.CosNaming.NameComponent[])"><!-- --></A><H3>bind_new_context</H3><PRE>public <A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A> <B>bind_new_context</B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[] n) throws <A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotFound.html">NotFound</A>, <A HREF="../../../org/omg/CosNaming/NamingContextPackage/AlreadyBound.html">AlreadyBound</A>, <A HREF="../../../org/omg/CosNaming/NamingContextPackage/CannotProceed.html">CannotProceed</A>, <A HREF="../../../org/omg/CosNaming/NamingContextPackage/InvalidName.html">InvalidName</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><DD>This operation creates a new context and binds it to the name supplied as an argument. The newly-created context is implemented by the same naming server as the context in which it was bound (that is, the naming server that implements the context denoted by the name argument excluding the last component).<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#bind_new_context(org.omg.CosNaming.NameComponent[])">bind_new_context</A></CODE> in interface <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CosNaming.NamingContextOperations</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - Name of the object <p><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotFound.html">NotFound</A></CODE> - Indicates the name does not identify a binding.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/AlreadyBound.html">AlreadyBound</A></CODE> - Indicates an object is already bound to the specified name.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/CannotProceed.html">CannotProceed</A></CODE> - Indicates that the implementation has given up for some reason. The client, however, may be able to continue the operation at the returned naming context.<p><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/InvalidName.html">InvalidName</A></CODE> - Indicates that the name is invalid. <p></DL></DD></DL><HR><A NAME="destroy()"><!-- --></A><H3>destroy</H3><PRE>public void <B>destroy</B>() throws <A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotEmpty.html">NotEmpty</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><DD>The destroy operation deletes a naming context. If the naming context contains bindings, the NotEmpty exception is raised.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#destroy()">destroy</A></CODE> in interface <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CosNaming.NamingContextOperations</CODE></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/NotEmpty.html">NotEmpty</A></CODE> - Indicates that the Naming Context contains bindings.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/_NamingContextStub.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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"> <A HREF="../../../org/omg/CosNaming/_NamingContextImplBase.html"><B>PREV CLASS</B></A> <A HREF="../../../org/omg/CosNaming/Binding.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> <A HREF="_NamingContextStub.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -