org.jacorb.naming
public class NamingContextImpl extends NamingContextExtPOA implements Serializable, Configurable
Version: $Id: NamingContextImpl.java,v 1.30 2006/06/14 11:56:56 alphonse.bendt Exp $
Method Summary | |
---|---|
void | bind(NameComponent[] nc, Object obj)
bind a name (an array of name components) to an object |
void | bind_context(NameComponent[] nc, NamingContext obj)
Bind a context to a name |
NamingContext | bind_new_context(NameComponent[] nc) |
void | configure(Configuration myConfiguration) |
POA | default_POA()
POA-related, |
void | destroy() |
int | how_many() |
static void | init(ORB orb, POA rootPoa)
This method needs to be called once to initialize
the static fields orb and rootPoa.
|
void | list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)
list all bindings |
NamingContext | new_context() |
void | rebind(NameComponent[] nc, Object obj)
Bind an object to a name that's already in use, i.e. rebind the name |
void | rebind_context(NameComponent[] nc, NamingContext obj)
Bind an context to a name that's already in use, i.e. rebind the name |
Object | resolve(NameComponent[] nc)
resolve a name |
Object | resolve_str(String n) |
NameComponent[] | to_name(String sn)
convert a string into name |
String | to_string(NameComponent[] n)
convert a name into its string representation |
String | to_url(String addr, String sn) |
void | unbind(NameComponent[] nc)
unbind a name |
Returns: numer of bindings in this context
Throws: InvalidName