| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamingContextExtOperations extends NamingContextOperations
NamingContextExt
is the extension of NamingContext
which
contains a set of name bindings in which each name is unique and is
part of Interoperable Naming Service.
Different names can be bound to an object in the same or different
contexts at the same time. Using NamingContextExt, you can use
URL-based names to bind and resolve.
See CORBA COS Naming Specification.
Method Summary | |
---|---|
Object |
resolve_str(String sn) This operation resolves the Stringified name into the object reference. |
NameComponent[] |
This operation converts a Stringified Name into an equivalent array of Name Components. |
String |
to_string(NameComponent[] n) This operation creates a stringified name from the array of Name components. |
String |
This operation creates a URL based "iiopname://" format name from the Stringified Name of the object. |
Methods inherited from class org.omg.CosNaming.NamingContextOperations |
---|
bind, bind_context, bind_new_context, destroy, list, new_context, rebind, rebind_context, resolve, unbind |
Method Detail |
---|
public Object resolve_str(String sn) throws NotFound, CannotProceed, InvalidName
sn
- Stringified Name of the object NotFound
- Indicates there is no object reference for the given name. CannotProceed
- Indicates that the given compound name is incorrect InvalidName
public NameComponent[] to_name(String sn) throws InvalidName
sn
- Stringified Name of the object InvalidName
public String to_string(NameComponent[] n) throws InvalidName
n
- Name of the object InvalidName
public String to_url(String addr, String sn) throws InvalidAddress, InvalidName
addr
- internet based address of the host machine where Name Service is running sn
- Stringified Name of the object InvalidAddress
InvalidName
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |