📄 _namingcontextstub.html
字号:
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> <A HREF="../../../org/omg/CORBA/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CosNaming/_NamingContextStub.html#resolve(org.omg.CosNaming.NameComponent[])">resolve</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[] n)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CosNaming/_NamingContextStub.html#unbind(org.omg.CosNaming.NameComponent[])">unbind</A></B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[] n)</CODE><BR> The unbind operation removes a name binding from a context.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.omg.CORBA.portable.ObjectImpl"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.omg.CORBA.portable.<A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html">ObjectImpl</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue)">_create_request</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList)">_create_request</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_duplicate()">_duplicate</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_get_delegate()">_get_delegate</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_get_domain_managers()">_get_domain_managers</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_get_interface_def()">_get_interface_def</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_get_policy(int)">_get_policy</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_hash(int)">_hash</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_invoke(org.omg.CORBA.portable.OutputStream)">_invoke</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_is_a(java.lang.String)">_is_a</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_is_equivalent(org.omg.CORBA.Object)">_is_equivalent</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_is_local()">_is_local</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_non_existent()">_non_existent</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_orb()">_orb</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_release()">_release</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_releaseReply(org.omg.CORBA.portable.InputStream)">_releaseReply</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_request(java.lang.String)">_request</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_request(java.lang.String, boolean)">_request</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_servant_postinvoke(org.omg.CORBA.portable.ServantObject)">_servant_postinvoke</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_servant_preinvoke(java.lang.String, java.lang.Class)">_servant_preinvoke</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_set_delegate(org.omg.CORBA.portable.Delegate)">_set_delegate</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)">_set_policy_override</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#hashCode()">hashCode</A>, <A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#toString()">toString</A></CODE></TD></TR></TABLE> <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.<A HREF="../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.omg.CORBA.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.omg.CORBA.<A HREF="../../../org/omg/CORBA/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/omg/CORBA/Object.html#_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue)">_create_request</A>, <A HREF="../../../org/omg/CORBA/Object.html#_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList)">_create_request</A>, <A HREF="../../../org/omg/CORBA/Object.html#_duplicate()">_duplicate</A>, <A HREF="../../../org/omg/CORBA/Object.html#_get_domain_managers()">_get_domain_managers</A>, <A HREF="../../../org/omg/CORBA/Object.html#_get_interface_def()">_get_interface_def</A>, <A HREF="../../../org/omg/CORBA/Object.html#_get_policy(int)">_get_policy</A>, <A HREF="../../../org/omg/CORBA/Object.html#_hash(int)">_hash</A>, <A HREF="../../../org/omg/CORBA/Object.html#_is_a(java.lang.String)">_is_a</A>, <A HREF="../../../org/omg/CORBA/Object.html#_is_equivalent(org.omg.CORBA.Object)">_is_equivalent</A>, <A HREF="../../../org/omg/CORBA/Object.html#_non_existent()">_non_existent</A>, <A HREF="../../../org/omg/CORBA/Object.html#_release()">_release</A>, <A HREF="../../../org/omg/CORBA/Object.html#_request(java.lang.String)">_request</A>, <A HREF="../../../org/omg/CORBA/Object.html#_set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)">_set_policy_override</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="_NamingContextStub(org.omg.CORBA.portable.Delegate)"><!-- --></A><H3>_NamingContextStub</H3><PRE>public <B>_NamingContextStub</B>(<A HREF="../../../org/omg/CORBA/portable/Delegate.html">Delegate</A> d)</PRE><DL></DL><!-- ============ 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="_ids()"><!-- --></A><H3>_ids</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A>[] <B>_ids</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html">ObjectImpl</A></CODE></B></DD><DD>Provides a string array containing the repository ids for this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html#_ids()">_ids</A></CODE> in class <CODE><A HREF="../../../org/omg/CORBA/portable/ObjectImpl.html">ObjectImpl</A></CODE></DL></DD><DD>Following copied from class: <CODE>org.omg.CORBA.portable.ObjectImpl</CODE></DD><DD><DL><DT><B>Returns:</B><DD>the array of all repository identifiers supported by this ObjectImpl instance (e.g. For a stub, _ids() will return information about all interfaces supported by the stub).</DL></DD></DL><HR><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>[] n, <A HREF="../../../org/omg/CORBA/Object.html">Object</A> 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><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><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>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object)">bind</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><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 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><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/AlreadyBound.html">AlreadyBound</A></CODE> - Indicates an object is already bound to the specified name.<p></DL></DD></DL><HR><A NAME="bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext)"><!-- --></A><H3>bind_context</H3><PRE>public void <B>bind_context</B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[] n, <A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A> nc) 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><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><DD>Names an object that is a naming context. Naming contexts that are bound using bind_context() participate in name resolution when compound names are passed to be resolved.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext)">bind_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><DD><CODE>nc</CODE> - NamingContect 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 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><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextPackage/AlreadyBound.html">AlreadyBound</A></CODE> - Indicates an object is already bound to the specified name.<p></DL></DD></DL><HR><A NAME="rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object)"><!-- --></A><H3>rebind</H3><PRE>public void <B>rebind</B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[] n, <A HREF="../../../org/omg/CORBA/Object.html">Object</A> 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></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></B></DD><DD>Creates a binding of a name and an object in the naming context even if the name is already bound in the context. Naming contexts that are bound using rebind do not participate in name resolution when compound names are passed to be resolved.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object)">rebind</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="rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext)"><!-- --></A><H3>rebind_context</H3><PRE>public void <B>rebind_context</B>(<A HREF="../../../org/omg/CosNaming/NameComponent.html">NameComponent</A>[] n, <A HREF="../../../org/omg/CosNaming/NamingContext.html">NamingContext</A> nc) 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>Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context. Naming contexts that are bound using rebind_context() participate in name resolution when compound names are passed to be resolved.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html#rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext)">rebind_context</A></CODE> in interface <CODE><A HREF="../../../org/omg/CosNaming/NamingContextOperations.html">NamingContextOperations</A></CODE></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -