|
Préférences
Moteurs de recherche
|
||||||||||||
| JavaTM 2 Platform Std. Ed. v1.6.0
org.omg.CosNaming
|
|||||||||||||
| Method Summary | |
|---|---|
Object |
resolve_str(String sn)
This operation resolves the Stringified name into the object reference. |
NameComponent[] |
to_name(String sn)
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 |
to_url(String addr,
String sn)
This operation creates a URL based "iiopname://" format name from the Stringified Name of the object. |
| 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 - Name of the object
org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.
InvalidNameNameComponent[] to_name(String sn) throws InvalidName
sn - Stringified Name of the object
org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.
InvalidNameString 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
org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.
org.omg.CosNaming.NamingContextPackage.InvalidAddress - Indicates the internet based address of the host machine is
incorrect
InvalidAddress
InvalidNameObject 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
org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.
InvalidName