|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamingContextExtOperations
A naming context extension is an extension to naming context that contains a set of name bindings in which each name is unique. Different names can be bound to an object in the same or different contexts at the same time.
See CORBA COS Naming Specification.
Method Summary | |
---|---|
Object |
resolve_str(String n)
The resolve_str operation is the process of retrieving an object bound to a stringified name in a given context. |
NameComponent[] |
to_name(String sn)
The to_name operation is the process of retrieving a name object to a stringified name. |
String |
to_string(NameComponent[] n)
The to_string operation is the process of retrieving a stringified name from a name object. |
String |
to_url(String addr,
String sn)
The to_url operation is the process of retrieving a url representation from a stringified name and address. |
Methods inherited from interface org.omg.CosNaming.NamingContextOperations |
---|
bind_context, bind_new_context, bind, destroy, list, new_context, rebind_context, rebind, resolve, unbind |
Method Detail |
---|
String to_string(NameComponent[] n) throws InvalidName
n
- String Name of the object
InvalidName
- Indicates that the name is invalid. NameComponent[] to_name(String sn) throws InvalidName
n
- String Name of the object
InvalidName
- Indicates that the name is invalid. String to_url(String addr, String sn) throws InvalidAddress, InvalidName
addr
- Address of the object sn
- String Name of the object
InvalidName
- Indicates that the name is invalid.
org.omg.CosNaming.NamingContextPackage.InvalidAddress
- Indicates that the Address is invalid.
InvalidAddress
Object resolve_str(String n) throws NotFound, CannotProceed, InvalidName
n
- String Name of the object
NotFound
- Indicates the name does not identify a binding.
CannotProceed
- 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.
InvalidName
- Indicates that the name is invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |