org.omg.CosNaming
Interface NamingContextExtOperations

All Superinterfaces:
NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
All Known Subinterfaces:
NamingContextExt sample code for org.omg.CosNaming.NamingContextExt definition code for org.omg.CosNaming.NamingContextExt
All Known Implementing Classes:
_NamingContextExtStub sample code for org.omg.CosNaming._NamingContextExtStub definition code for org.omg.CosNaming._NamingContextExtStub , NamingContextExtPOA sample code for org.omg.CosNaming.NamingContextExtPOA definition code for org.omg.CosNaming.NamingContextExtPOA

public interface NamingContextExtOperations
extends NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.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 sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object resolve_str sample code for org.omg.CosNaming.NamingContextExtOperations.resolve_str(java.lang.String) definition code for org.omg.CosNaming.NamingContextExtOperations.resolve_str(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  sn)
          This operation resolves the Stringified name into the object reference.
 NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] to_name sample code for org.omg.CosNaming.NamingContextExtOperations.to_name(java.lang.String) definition code for org.omg.CosNaming.NamingContextExtOperations.to_name(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  sn)
          This operation converts a Stringified Name into an equivalent array of Name Components.
 String sample code for java.lang.String definition code for java.lang.String to_string sample code for org.omg.CosNaming.NamingContextExtOperations.to_string(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming.NamingContextExtOperations.to_string(org.omg.CosNaming.NameComponent[]) (NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n)
          This operation creates a stringified name from the array of Name components.
 String sample code for java.lang.String definition code for java.lang.String to_url sample code for org.omg.CosNaming.NamingContextExtOperations.to_url(java.lang.String, java.lang.String) definition code for org.omg.CosNaming.NamingContextExtOperations.to_url(java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  addr, String sample code for java.lang.String definition code for java.lang.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 sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
bind_context sample code for org.omg.CosNaming.NamingContextOperations.bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) definition code for org.omg.CosNaming.NamingContextOperations.bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) , bind_new_context sample code for org.omg.CosNaming.NamingContextOperations.bind_new_context(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming.NamingContextOperations.bind_new_context(org.omg.CosNaming.NameComponent[]) , bind sample code for org.omg.CosNaming.NamingContextOperations.bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) definition code for org.omg.CosNaming.NamingContextOperations.bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) , destroy sample code for org.omg.CosNaming.NamingContextOperations.destroy() definition code for org.omg.CosNaming.NamingContextOperations.destroy() , list sample code for org.omg.CosNaming.NamingContextOperations.list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder) definition code for org.omg.CosNaming.NamingContextOperations.list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder) , new_context sample code for org.omg.CosNaming.NamingContextOperations.new_context() definition code for org.omg.CosNaming.NamingContextOperations.new_context() , rebind_context sample code for org.omg.CosNaming.NamingContextOperations.rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) definition code for org.omg.CosNaming.NamingContextOperations.rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) , rebind sample code for org.omg.CosNaming.NamingContextOperations.rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) definition code for org.omg.CosNaming.NamingContextOperations.rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) , resolve sample code for org.omg.CosNaming.NamingContextOperations.resolve(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming.NamingContextOperations.resolve(org.omg.CosNaming.NameComponent[]) , unbind sample code for org.omg.CosNaming.NamingContextOperations.unbind(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming.NamingContextOperations.unbind(org.omg.CosNaming.NameComponent[])
 

Method Detail

to_string sample code for org.omg.CosNaming.NamingContextExtOperations.to_string(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming.NamingContextExtOperations.to_string(org.omg.CosNaming.NameComponent[])

String sample code for java.lang.String definition code for java.lang.String  to_string(NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n)
                 throws InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName 
This operation creates a stringified name from the array of Name components.

Parameters:
n - Name of the object

Throws:
org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.

InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName

to_name sample code for org.omg.CosNaming.NamingContextExtOperations.to_name(java.lang.String) definition code for org.omg.CosNaming.NamingContextExtOperations.to_name(java.lang.String)

NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] to_name(String sample code for java.lang.String definition code for java.lang.String  sn)
                        throws InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName 
This operation converts a Stringified Name into an equivalent array of Name Components.

Parameters:
sn - Stringified Name of the object

Throws:
org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.

InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName

to_url sample code for org.omg.CosNaming.NamingContextExtOperations.to_url(java.lang.String, java.lang.String) definition code for org.omg.CosNaming.NamingContextExtOperations.to_url(java.lang.String, java.lang.String)

String sample code for java.lang.String definition code for java.lang.String  to_url(String sample code for java.lang.String definition code for java.lang.String  addr,
              String sample code for java.lang.String definition code for java.lang.String  sn)
              throws InvalidAddress sample code for org.omg.CosNaming.NamingContextExtPackage.InvalidAddress definition code for org.omg.CosNaming.NamingContextExtPackage.InvalidAddress ,
                     InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName 
This operation creates a URL based "iiopname://" format name from the Stringified Name of the object.

Parameters:
addr - internet based address of the host machine where Name Service is running

sn - Stringified Name of the object

Throws:
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 sample code for org.omg.CosNaming.NamingContextExtPackage.InvalidAddress definition code for org.omg.CosNaming.NamingContextExtPackage.InvalidAddress
InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName

resolve_str sample code for org.omg.CosNaming.NamingContextExtOperations.resolve_str(java.lang.String) definition code for org.omg.CosNaming.NamingContextExtOperations.resolve_str(java.lang.String)

Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  resolve_str(String sample code for java.lang.String definition code for java.lang.String  sn)
                   throws NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound ,
                          CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.CannotProceed ,
                          InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName 
This operation resolves the Stringified name into the object reference.

Parameters:
sn - Stringified Name of the object

Throws:
NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound - Indicates there is no object reference for the given name.

CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.CannotProceed - Indicates that the given compound name is incorrect

org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.

InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName