|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosNaming.NamingContextExtPOA
org.jacorb.naming.NamingContextImpl
The implementation for the CORBAService Naming
| Constructor Summary | |
|---|---|
NamingContextImpl()
|
|
| Method Summary | |
|---|---|
void |
bind_context(NameComponent[] nc,
NamingContext obj)
Bind a context to a name |
NamingContext |
bind_new_context(NameComponent[] nc)
|
void |
bind(NameComponent[] nc,
Object obj)
bind a name (an array of name components) to an object |
void |
configure(org.apache.avalon.framework.configuration.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_context(NameComponent[] nc,
NamingContext obj)
Bind an context to a name that's already in use, i.e. rebind the name |
void |
rebind(NameComponent[] nc,
Object obj)
Bind an object to a name that's already in use, i.e. rebind the name |
Object |
resolve_str(java.lang.String n)
|
Object |
resolve(NameComponent[] nc)
resolve a name |
NameComponent[] |
to_name(java.lang.String sn)
convert a string into name |
java.lang.String |
to_string(NameComponent[] n)
convert a name into its string representation |
java.lang.String |
to_url(java.lang.String addr,
java.lang.String sn)
|
void |
unbind(NameComponent[] nc)
unbind a name |
| Methods inherited from class org.omg.CosNaming.NamingContextExtPOA |
|---|
_all_interfaces, _invoke, _this, _this |
| Methods inherited from class org.omg.PortableServer.Servant |
|---|
_default_POA, _get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NamingContextImpl()
| Method Detail |
public void configure(org.apache.avalon.framework.configuration.Configuration myConfiguration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationException
public void bind(NameComponent[] nc,
Object obj)
throws NotFound,
CannotProceed,
InvalidName,
AlreadyBound
bind in interface NamingContextOperationsNotFound
CannotProceed
InvalidName
AlreadyBound
public void rebind(NameComponent[] nc,
Object obj)
throws NotFound,
CannotProceed,
InvalidName
rebind in interface NamingContextOperationsNotFound
CannotProceed
InvalidName
public void rebind_context(NameComponent[] nc,
NamingContext obj)
throws NotFound,
CannotProceed,
InvalidName
rebind_context in interface NamingContextOperationsNotFound
CannotProceed
InvalidName
public void bind_context(NameComponent[] nc,
NamingContext obj)
throws NotFound,
CannotProceed,
InvalidName,
AlreadyBound
bind_context in interface NamingContextOperationsNotFound
CannotProceed
InvalidName
AlreadyBound
public NamingContext bind_new_context(NameComponent[] nc)
throws NotFound,
CannotProceed,
InvalidName,
AlreadyBound
bind_new_context in interface NamingContextOperationsNotFound
CannotProceed
InvalidName
AlreadyBound
public void destroy()
throws NotEmpty
destroy in interface NamingContextOperationsNotEmptypublic int how_many()
public void list(int how_many,
BindingListHolder bl,
BindingIteratorHolder bi)
list in interface NamingContextOperationspublic NamingContext new_context()
new_context in interface NamingContextOperations
public Object resolve(NameComponent[] nc)
throws NotFound,
CannotProceed,
InvalidName
resolve in interface NamingContextOperationsNotFound
CannotProceed
InvalidName
public void unbind(NameComponent[] nc)
throws NotFound,
CannotProceed,
InvalidName
unbind in interface NamingContextOperationsNotFound
CannotProceed
InvalidNamepublic POA default_POA()
public static void init(ORB orb,
POA rootPoa)
public java.lang.String to_string(NameComponent[] n)
throws InvalidName
to_string in interface NamingContextExtOperationsInvalidName
public NameComponent[] to_name(java.lang.String sn)
throws InvalidName
to_name in interface NamingContextExtOperationsInvalidName
public java.lang.String to_url(java.lang.String addr,
java.lang.String sn)
throws InvalidAddress,
InvalidName
to_url in interface NamingContextExtOperationsInvalidAddress
InvalidName
public Object resolve_str(java.lang.String n)
throws NotFound,
CannotProceed,
InvalidName
resolve_str in interface NamingContextExtOperationsNotFound
CannotProceed
InvalidName
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||