public interface NamingContextExtOperations extends NamingContextOperations
Modifier and Type | Method and Description |
---|---|
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.
|
bind_context, bind_new_context, bind, list, new_context, rebind_context, rebind, resolve, unbind
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. Copyright © 2013. All Rights Reserved.