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

📄 namingcontextoperations.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Apr 27 23:43:40 PDT 2000 --><TITLE>Java 2 Platform SE v1.3: Interface  NamingContextOperations</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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/NamingContextOperations.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="../../../org/omg/CosNaming/NamingContext.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="NamingContextOperations.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><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.omg.CosNaming</FONT><BR>Interface  NamingContextOperations</H2><DL><DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A></DD></DL><HR><DL><DT>public interface <B>NamingContextOperations</B></DL><P>org/omg/CosNaming/NamingContextOperations.java Generated by the IDL-to-Java compiler (portable), version "3.0" from nameservice.idl Wednesday, January 26, 2000 3:34:53 PM PST<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></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><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext)">bind_context</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[]&nbsp;n,             <A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A>&nbsp;nc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Names an object that is a naming context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#bind_new_context(org.omg.CosNaming.NameComponent[])">bind_new_context</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[]&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This operation creates a new context and binds it to the name supplied as an argument.</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><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object)">bind</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[]&nbsp;n,     <A HREF="../../../org/omg/CORBA/Object.html">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a binding of a name and an object in the naming context.</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><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#destroy()">destroy</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The destroy operation deletes a naming context.</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><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder)">list</A></B>(int&nbsp;how_many,     <A HREF="../../../org/omg/CosNaming/BindingListHolder.html">BindingListHolder</A>&nbsp;bl,     <A HREF="../../../org/omg/CosNaming/BindingIteratorHolder.html">BindingIteratorHolder</A>&nbsp;bi)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The list operation allows a client to iterate through a set of bindings in a naming context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#new_context()">new_context</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This operation returns a naming context implemented by the same naming server as the context on which the operation was invoked.</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><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext)">rebind_context</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[]&nbsp;n,               <A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A>&nbsp;nc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context.</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><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object)">rebind</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[]&nbsp;n,       <A HREF="../../../org/omg/CORBA/Object.html">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a binding of a name and an object in the naming context even if the name is already bound in the context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/omg/CORBA/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#resolve(org.omg.CosNaming.NameComponent[])">resolve</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[]&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The resolve operation is the process of retrieving an object bound to a name in a given context.</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><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#unbind(org.omg.CosNaming.NameComponent[])">unbind</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[]&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The unbind operation removes a name binding from a context.</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="bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object)"><!-- --></A><H3>bind</H3><PRE>public void <B>bind</B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[]&nbsp;n,                 <A HREF="../../../org/omg/CORBA/Object.html">Object</A>&nbsp;obj)          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>,                 <A HREF="../../../org/omg/CosNaming/NamingContextPackage/AlreadyBound.html">AlreadyBound</A></PRE><DL><DD>Creates a binding of a name and an object in the naming context. Naming contexts that are bound using bind do not participate in name resolution when compound names are passed to be resolved.<DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - Name of the object <p><DD><CODE>obj</CODE> - The Object to bind 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 

⌨️ 快捷键说明

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