|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NamingContextExt interface derived from NamingContext provides the operations requires to use URLs and stringified names.
Method Summary | |
void |
bind_context(NameComponent[] n,
NamingContext nc)
Names an object that is a naming context. |
NamingContext |
bind_new_context(NameComponent[] n)
Create a new context and bind it with the given name. |
void |
bind(NameComponent[] n,
Object obj)
Creates a binding of a name and a CORBA Object in a Naming Context. |
void |
destroy()
Destroy the context. |
void |
list(int how_many,
BindingListHolder bl,
BindingIteratorHolder bi)
List atmost how_many number of bindings. |
NamingContext |
new_context()
Create a new Context. |
void |
rebind_context(NameComponent[] n,
NamingContext nc)
Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context. |
void |
rebind(NameComponent[] n,
Object obj)
Creates a binding of a name and an object in the naming context even if the name is already bound in the context. |
Object |
resolve_str(String n)
This is a convenience operation that performs a resolve in the same manner as NamingContext::resolve. |
Object |
resolve(NameComponent[] n)
The resolve operation is the process of retrieving an object bound to a name in a given context. |
NameComponent[] |
to_name(String sn)
This operation accepts a stringified name and returns a Name. |
String |
to_string(NameComponent[] n)
This operation accepts a Name and returns a stringified name. |
String |
to_url(String addr,
String sn)
This operation takes a URL component such as "myhost.xyz.com" and a stringified name. |
void |
unbind(NameComponent[] n)
The unbind operation removes a binding from a Naming Context. |
Method Detail |
public String to_string(NameComponent[] n) throws InvalidName
InvalidName
public NameComponent[] to_name(String sn) throws InvalidName
InvalidName
public String to_url(String addr, String sn) throws InvalidAddress, InvalidName
It is legal for the address and/or stringified_name to be empty. If the address is empty, it means the local host.
InvalidAddress
InvalidName
public Object resolve_str(String n) throws NotFound, CannotProceed, InvalidName
NotFound
CannotProceed
InvalidName
public void bind(NameComponent[] n, Object obj) throws NotFound, CannotProceed, InvalidName, AlreadyBound
NotFound
CannotProceed
InvalidName
AlreadyBound
public void bind_context(NameComponent[] n, NamingContext nc) throws NotFound, CannotProceed, InvalidName, AlreadyBound
NotFound
CannotProceed
InvalidName
AlreadyBound
public void rebind(NameComponent[] n, Object obj) throws NotFound, CannotProceed, InvalidName
NotFound
CannotProceed
InvalidName
public void rebind_context(NameComponent[] n, NamingContext nc) throws NotFound, CannotProceed, InvalidName
NotFound
CannotProceed
InvalidName
public Object resolve(NameComponent[] n) throws NotFound, CannotProceed, InvalidName
NotFound
CannotProceed
InvalidName
public void unbind(NameComponent[] n) throws NotFound, CannotProceed, InvalidName
NotFound
CannotProceed
InvalidName
public void list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)
public NamingContext new_context()
public NamingContext bind_new_context(NameComponent[] n) throws NotFound, AlreadyBound, CannotProceed, InvalidName
NotFound
AlreadyBound
CannotProceed
InvalidName
public void destroy() throws NotEmpty
NotEmpty
|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |