| org.jacorb.naming.NamingContextImpl
NamingContextImpl | public class NamingContextImpl extends NamingContextExtPOA implements java.io.Serializable,Configurable(Code) | | The implementation for the CORBAService Naming
author: Gerald Brose version: $Id: NamingContextImpl.java,v 1.30 2006/06/14 11:56:56 alphonse.bendt Exp $ |
Method Summary | |
public void | bind(NameComponent[] nc, org.omg.CORBA.Object obj) | public void | bind_context(NameComponent[] nc, NamingContext obj) | public NamingContext | bind_new_context(NameComponent[] nc) | public void | configure(Configuration myConfiguration) | public org.omg.PortableServer.POA | default_POA() | public void | destroy() | public int | how_many() | public static void | init(org.omg.CORBA.ORB orb, org.omg.PortableServer.POA rootPoa) This method needs to be called once to initialize
the static fields orb and rootPoa. | void | init(org.omg.PortableServer.POA poa) This method needs to be called for each newly created
or re-read naming context to set its poa. | public void | list(int how_many, BindingListHolder bl, BindingIteratorHolder bi) | public NamingContext | new_context() | public void | rebind(NameComponent[] nc, org.omg.CORBA.Object obj) Bind an object to a name that's already in use, i.e. | public void | rebind_context(NameComponent[] nc, NamingContext obj) Bind an context to a name that's already in use, i.e. | public org.omg.CORBA.Object | resolve(NameComponent[] nc) | public org.omg.CORBA.Object | resolve_str(String n) | public NameComponent[] | to_name(String sn) | public String | to_string(NameComponent[] n) | public String | to_url(String addr, String sn) | public void | unbind(NameComponent[] nc) |
bind | public void bind(NameComponent[] nc, org.omg.CORBA.Object obj) throws NotFound, CannotProceed, InvalidName, AlreadyBound(Code) | | bind a name (an array of name components) to an object
|
bind_context | public void bind_context(NameComponent[] nc, NamingContext obj) throws NotFound, CannotProceed, InvalidName, AlreadyBound(Code) | | Bind a context to a name
|
bind_new_context | public NamingContext bind_new_context(NameComponent[] nc) throws NotFound, CannotProceed, InvalidName, AlreadyBound(Code) | | |
configure | public void configure(Configuration myConfiguration) throws ConfigurationException(Code) | | |
destroy | public void destroy() throws NotEmpty(Code) | | |
how_many | public int how_many()(Code) | | numer of bindings in this context |
list | public void list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)(Code) | | list all bindings
|
new_context | public NamingContext new_context()(Code) | | |
rebind | public void rebind(NameComponent[] nc, org.omg.CORBA.Object obj) throws NotFound, CannotProceed, InvalidName(Code) | | Bind an object to a name that's already in use, i.e. rebind the name
|
rebind_context | public void rebind_context(NameComponent[] nc, NamingContext obj) throws NotFound, CannotProceed, InvalidName(Code) | | Bind an context to a name that's already in use, i.e. rebind the name
|
to_name | public NameComponent[] to_name(String sn) throws InvalidName(Code) | | convert a string into name
throws: InvalidName - |
to_string | public String to_string(NameComponent[] n) throws InvalidName(Code) | | convert a name into its string representation
|
unbind | public void unbind(NameComponent[] nc) throws NotFound, CannotProceed, InvalidName(Code) | | unbind a name
|
|
|