org.omg.CosNaming
Class _NamingContextExtStub

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.portable.ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl 
      extended by org.omg.CosNaming._NamingContextExtStub
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity , NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext , NamingContextExt sample code for org.omg.CosNaming.NamingContextExt definition code for org.omg.CosNaming.NamingContextExt , NamingContextExtOperations sample code for org.omg.CosNaming.NamingContextExtOperations definition code for org.omg.CosNaming.NamingContextExtOperations , NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations

public class _NamingContextExtStub
extends ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
implements NamingContextExt sample code for org.omg.CosNaming.NamingContextExt definition code for org.omg.CosNaming.NamingContextExt

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.

See Also:
Serialized Form

Constructor Summary
_NamingContextExtStub sample code for org.omg.CosNaming._NamingContextExtStub._NamingContextExtStub() definition code for org.omg.CosNaming._NamingContextExtStub._NamingContextExtStub() ()
           
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String [] _ids sample code for org.omg.CosNaming._NamingContextExtStub._ids() definition code for org.omg.CosNaming._NamingContextExtStub._ids() ()
          Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
 void bind_context sample code for org.omg.CosNaming._NamingContextExtStub.bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) definition code for org.omg.CosNaming._NamingContextExtStub.bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) (NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n, NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext  nc)
          Names an object that is a naming context.
 NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext bind_new_context sample code for org.omg.CosNaming._NamingContextExtStub.bind_new_context(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming._NamingContextExtStub.bind_new_context(org.omg.CosNaming.NameComponent[]) (NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n)
          This operation creates a new context and binds it to the name supplied as an argument.
 void bind sample code for org.omg.CosNaming._NamingContextExtStub.bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) definition code for org.omg.CosNaming._NamingContextExtStub.bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) (NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n, Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)
          Creates a binding of a name and an object in the naming context.
 void destroy sample code for org.omg.CosNaming._NamingContextExtStub.destroy() definition code for org.omg.CosNaming._NamingContextExtStub.destroy() ()
          The destroy operation deletes a naming context.
 void list sample code for org.omg.CosNaming._NamingContextExtStub.list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder) definition code for org.omg.CosNaming._NamingContextExtStub.list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder) (int how_many, BindingListHolder sample code for org.omg.CosNaming.BindingListHolder definition code for org.omg.CosNaming.BindingListHolder  bl, BindingIteratorHolder sample code for org.omg.CosNaming.BindingIteratorHolder definition code for org.omg.CosNaming.BindingIteratorHolder  bi)
          The list operation allows a client to iterate through a set of bindings in a naming context.
 NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext new_context sample code for org.omg.CosNaming._NamingContextExtStub.new_context() definition code for org.omg.CosNaming._NamingContextExtStub.new_context() ()
          This operation returns a naming context implemented by the same naming server as the context on which the operation was invoked.
 void rebind_context sample code for org.omg.CosNaming._NamingContextExtStub.rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) definition code for org.omg.CosNaming._NamingContextExtStub.rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) (NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n, NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext  nc)
          Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context.
 void rebind sample code for org.omg.CosNaming._NamingContextExtStub.rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) definition code for org.omg.CosNaming._NamingContextExtStub.rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) (NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n, Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)
          Creates a binding of a name and an object in the naming context even if the name is already bound in the context.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object resolve_str sample code for org.omg.CosNaming._NamingContextExtStub.resolve_str(java.lang.String) definition code for org.omg.CosNaming._NamingContextExtStub.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.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object resolve sample code for org.omg.CosNaming._NamingContextExtStub.resolve(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming._NamingContextExtStub.resolve(org.omg.CosNaming.NameComponent[]) (NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n)
          The resolve operation is the process of retrieving an object bound to a name in a given context.
 NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] to_name sample code for org.omg.CosNaming._NamingContextExtStub.to_name(java.lang.String) definition code for org.omg.CosNaming._NamingContextExtStub.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._NamingContextExtStub.to_string(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming._NamingContextExtStub.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._NamingContextExtStub.to_url(java.lang.String, java.lang.String) definition code for org.omg.CosNaming._NamingContextExtStub.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.
 void unbind sample code for org.omg.CosNaming._NamingContextExtStub.unbind(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming._NamingContextExtStub.unbind(org.omg.CosNaming.NameComponent[]) (NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n)
          The unbind operation removes a name binding from a context.
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
_create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) , _create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) , _duplicate sample code for org.omg.CORBA.portable.ObjectImpl._duplicate() definition code for org.omg.CORBA.portable.ObjectImpl._duplicate() , _get_delegate sample code for org.omg.CORBA.portable.ObjectImpl._get_delegate() definition code for org.omg.CORBA.portable.ObjectImpl._get_delegate() , _get_domain_managers sample code for org.omg.CORBA.portable.ObjectImpl._get_domain_managers() definition code for org.omg.CORBA.portable.ObjectImpl._get_domain_managers() , _get_interface_def sample code for org.omg.CORBA.portable.ObjectImpl._get_interface_def() definition code for org.omg.CORBA.portable.ObjectImpl._get_interface_def() , _get_policy sample code for org.omg.CORBA.portable.ObjectImpl._get_policy(int) definition code for org.omg.CORBA.portable.ObjectImpl._get_policy(int) , _hash sample code for org.omg.CORBA.portable.ObjectImpl._hash(int) definition code for org.omg.CORBA.portable.ObjectImpl._hash(int) , _invoke sample code for org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream) definition code for org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream) , _is_a sample code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) , _is_equivalent sample code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) , _is_local sample code for org.omg.CORBA.portable.ObjectImpl._is_local() definition code for org.omg.CORBA.portable.ObjectImpl._is_local() , _non_existent sample code for org.omg.CORBA.portable.ObjectImpl._non_existent() definition code for org.omg.CORBA.portable.ObjectImpl._non_existent() , _orb sample code for org.omg.CORBA.portable.ObjectImpl._orb() definition code for org.omg.CORBA.portable.ObjectImpl._orb() , _release sample code for org.omg.CORBA.portable.ObjectImpl._release() definition code for org.omg.CORBA.portable.ObjectImpl._release() , _releaseReply sample code for org.omg.CORBA.portable.ObjectImpl._releaseReply(org.omg.CORBA.portable.InputStream) definition code for org.omg.CORBA.portable.ObjectImpl._releaseReply(org.omg.CORBA.portable.InputStream) , _request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) , _request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String, boolean) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String, boolean) , _servant_postinvoke sample code for org.omg.CORBA.portable.ObjectImpl._servant_postinvoke(org.omg.CORBA.portable.ServantObject) definition code for org.omg.CORBA.portable.ObjectImpl._servant_postinvoke(org.omg.CORBA.portable.ServantObject) , _servant_preinvoke sample code for org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(java.lang.String, java.lang.Class) definition code for org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(java.lang.String, java.lang.Class) , _set_delegate sample code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) definition code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) , _set_policy_override sample code for org.omg.CORBA.portable.ObjectImpl._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.portable.ObjectImpl._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) , equals sample code for org.omg.CORBA.portable.ObjectImpl.equals(java.lang.Object) definition code for org.omg.CORBA.portable.ObjectImpl.equals(java.lang.Object) , hashCode sample code for org.omg.CORBA.portable.ObjectImpl.hashCode() definition code for org.omg.CORBA.portable.ObjectImpl.hashCode() , toString sample code for org.omg.CORBA.portable.ObjectImpl.toString() definition code for org.omg.CORBA.portable.ObjectImpl.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 
Methods inherited from interface org.omg.CORBA.Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
_create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) , _create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) , _duplicate sample code for org.omg.CORBA.Object._duplicate() definition code for org.omg.CORBA.Object._duplicate() , _get_domain_managers sample code for org.omg.CORBA.Object._get_domain_managers() definition code for org.omg.CORBA.Object._get_domain_managers() , _get_interface_def sample code for org.omg.CORBA.Object._get_interface_def() definition code for org.omg.CORBA.Object._get_interface_def() , _get_policy sample code for org.omg.CORBA.Object._get_policy(int) definition code for org.omg.CORBA.Object._get_policy(int) , _hash sample code for org.omg.CORBA.Object._hash(int) definition code for org.omg.CORBA.Object._hash(int) , _is_a sample code for org.omg.CORBA.Object._is_a(java.lang.String) definition code for org.omg.CORBA.Object._is_a(java.lang.String) , _is_equivalent sample code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) , _non_existent sample code for org.omg.CORBA.Object._non_existent() definition code for org.omg.CORBA.Object._non_existent() , _release sample code for org.omg.CORBA.Object._release() definition code for org.omg.CORBA.Object._release() , _request sample code for org.omg.CORBA.Object._request(java.lang.String) definition code for org.omg.CORBA.Object._request(java.lang.String) , _set_policy_override sample code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)
 

Constructor Detail

_NamingContextExtStub sample code for org.omg.CosNaming._NamingContextExtStub() definition code for org.omg.CosNaming._NamingContextExtStub()

public _NamingContextExtStub()
Method Detail

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

public 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.

Specified by:
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[]) in interface NamingContextExtOperations sample code for org.omg.CosNaming.NamingContextExtOperations definition code for org.omg.CosNaming.NamingContextExtOperations
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._NamingContextExtStub.to_name(java.lang.String) definition code for org.omg.CosNaming._NamingContextExtStub.to_name(java.lang.String)

public 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.

Specified by:
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) in interface NamingContextExtOperations sample code for org.omg.CosNaming.NamingContextExtOperations definition code for org.omg.CosNaming.NamingContextExtOperations
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._NamingContextExtStub.to_url(java.lang.String, java.lang.String) definition code for org.omg.CosNaming._NamingContextExtStub.to_url(java.lang.String, java.lang.String)

public 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.

Specified by:
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) in interface NamingContextExtOperations sample code for org.omg.CosNaming.NamingContextExtOperations definition code for org.omg.CosNaming.NamingContextExtOperations
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._NamingContextExtStub.resolve_str(java.lang.String) definition code for org.omg.CosNaming._NamingContextExtStub.resolve_str(java.lang.String)

public 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.

Specified by:
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) in interface NamingContextExtOperations sample code for org.omg.CosNaming.NamingContextExtOperations definition code for org.omg.CosNaming.NamingContextExtOperations
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

bind sample code for org.omg.CosNaming._NamingContextExtStub.bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) definition code for org.omg.CosNaming._NamingContextExtStub.bind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object)

public void bind(NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n,
                 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)
          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 ,
                 AlreadyBound sample code for org.omg.CosNaming.NamingContextPackage.AlreadyBound definition code for org.omg.CosNaming.NamingContextPackage.AlreadyBound 
Creates a binding of a name and an object in the naming context. Naming contexts that are bound using bind do not participate in name resolution when compound names are passed to be resolved.

Specified by:
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) in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Parameters:
n - Name of the object

obj - The Object to bind with the given name

Throws:
NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound - Indicates the name does not identify a binding.

CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.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 sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName - Indicates that the name is invalid.

AlreadyBound sample code for org.omg.CosNaming.NamingContextPackage.AlreadyBound definition code for org.omg.CosNaming.NamingContextPackage.AlreadyBound - Indicates an object is already bound to the specified name.


bind_context sample code for org.omg.CosNaming._NamingContextExtStub.bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) definition code for org.omg.CosNaming._NamingContextExtStub.bind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext)

public void bind_context(NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n,
                         NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext  nc)
                  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 ,
                         AlreadyBound sample code for org.omg.CosNaming.NamingContextPackage.AlreadyBound definition code for org.omg.CosNaming.NamingContextPackage.AlreadyBound 
Names an object that is a naming context. Naming contexts that are bound using bind_context() participate in name resolution when compound names are passed to be resolved.

Specified by:
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) in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Parameters:
n - Name of the object

nc - NamingContect object to bind with the given name

Throws:
NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound - Indicates the name does not identify a binding.

CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.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 sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName - Indicates that the name is invalid.

AlreadyBound sample code for org.omg.CosNaming.NamingContextPackage.AlreadyBound definition code for org.omg.CosNaming.NamingContextPackage.AlreadyBound - Indicates an object is already bound to the specified name.


rebind sample code for org.omg.CosNaming._NamingContextExtStub.rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object) definition code for org.omg.CosNaming._NamingContextExtStub.rebind(org.omg.CosNaming.NameComponent[], org.omg.CORBA.Object)

public void rebind(NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n,
                   Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)
            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 
Creates a binding of a name and an object in the naming context even if the name is already bound in the context. Naming contexts that are bound using rebind do not participate in name resolution when compound names are passed to be resolved.

Specified by:
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) in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Parameters:
n - Name of the object

Throws:
NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound - Indicates the name does not identify a binding.

CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.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 sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName - Indicates that the name is invalid.


rebind_context sample code for org.omg.CosNaming._NamingContextExtStub.rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext) definition code for org.omg.CosNaming._NamingContextExtStub.rebind_context(org.omg.CosNaming.NameComponent[], org.omg.CosNaming.NamingContext)

public void rebind_context(NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n,
                           NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext  nc)
                    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 
Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context. Naming contexts that are bound using rebind_context() participate in name resolution when compound names are passed to be resolved.

Specified by:
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) in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Parameters:
n - Name of the object

nc - NamingContect object to rebind with the given name

Throws:
NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound - Indicates the name does not identify a binding.

CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.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 sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName - Indicates that the name is invalid.


resolve sample code for org.omg.CosNaming._NamingContextExtStub.resolve(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming._NamingContextExtStub.resolve(org.omg.CosNaming.NameComponent[])

public Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  resolve(NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n)
               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 
The resolve operation is the process of retrieving an object bound to a name in a given context. The given name must exactly match the bound name. The naming service does not return the type of the object. Clients are responsible for "narrowing" the object to the appropriate type. That is, clients typically cast the returned object from Object to a more specialized interface.

Specified by:
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[]) in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Parameters:
n - Name of the object

Throws:
NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound - Indicates the name does not identify a binding.

CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.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 sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName - Indicates that the name is invalid.


unbind sample code for org.omg.CosNaming._NamingContextExtStub.unbind(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming._NamingContextExtStub.unbind(org.omg.CosNaming.NameComponent[])

public void unbind(NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n)
            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 
The unbind operation removes a name binding from a context.

Specified by:
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[]) in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Parameters:
n - Name of the object

Throws:
NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound - Indicates the name does not identify a binding.

CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.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 sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName - Indicates that the name is invalid.


list sample code for org.omg.CosNaming._NamingContextExtStub.list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder) definition code for org.omg.CosNaming._NamingContextExtStub.list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder)

public void list(int how_many,
                 BindingListHolder sample code for org.omg.CosNaming.BindingListHolder definition code for org.omg.CosNaming.BindingListHolder  bl,
                 BindingIteratorHolder sample code for org.omg.CosNaming.BindingIteratorHolder definition code for org.omg.CosNaming.BindingIteratorHolder  bi)
The list operation allows a client to iterate through a set of bindings in a naming context.

The list operation returns at most the requested number of bindings in BindingList bl.

Specified by:
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) in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Parameters:
how_many - the maximum number of bindings to return

bl - the returned list of bindings

bi - the returned binding iterator


new_context sample code for org.omg.CosNaming._NamingContextExtStub.new_context() definition code for org.omg.CosNaming._NamingContextExtStub.new_context()

public NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext  new_context()
This operation returns a naming context implemented by the same naming server as the context on which the operation was invoked. The new context is not bound to any name.

Specified by:
new_context sample code for org.omg.CosNaming.NamingContextOperations.new_context() definition code for org.omg.CosNaming.NamingContextOperations.new_context() in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations

bind_new_context sample code for org.omg.CosNaming._NamingContextExtStub.bind_new_context(org.omg.CosNaming.NameComponent[]) definition code for org.omg.CosNaming._NamingContextExtStub.bind_new_context(org.omg.CosNaming.NameComponent[])

public NamingContext sample code for org.omg.CosNaming.NamingContext definition code for org.omg.CosNaming.NamingContext  bind_new_context(NameComponent sample code for org.omg.CosNaming.NameComponent definition code for org.omg.CosNaming.NameComponent [] n)
                               throws NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound ,
                                      AlreadyBound sample code for org.omg.CosNaming.NamingContextPackage.AlreadyBound definition code for org.omg.CosNaming.NamingContextPackage.AlreadyBound ,
                                      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 creates a new context and binds it to the name supplied as an argument. The newly-created context is implemented by the same naming server as the context in which it was bound (that is, the naming server that implements the context denoted by the name argument excluding the last component).

Specified by:
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[]) in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Parameters:
n - Name of the object

Throws:
NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound - Indicates the name does not identify a binding.

AlreadyBound sample code for org.omg.CosNaming.NamingContextPackage.AlreadyBound definition code for org.omg.CosNaming.NamingContextPackage.AlreadyBound - Indicates an object is already bound to the specified name.

CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.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 sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName - Indicates that the name is invalid.


destroy sample code for org.omg.CosNaming._NamingContextExtStub.destroy() definition code for org.omg.CosNaming._NamingContextExtStub.destroy()

public void destroy()
             throws NotEmpty sample code for org.omg.CosNaming.NamingContextPackage.NotEmpty definition code for org.omg.CosNaming.NamingContextPackage.NotEmpty 
The destroy operation deletes a naming context. If the naming context contains bindings, the NotEmpty exception is raised.

Specified by:
destroy sample code for org.omg.CosNaming.NamingContextOperations.destroy() definition code for org.omg.CosNaming.NamingContextOperations.destroy() in interface NamingContextOperations sample code for org.omg.CosNaming.NamingContextOperations definition code for org.omg.CosNaming.NamingContextOperations
Throws:
NotEmpty sample code for org.omg.CosNaming.NamingContextPackage.NotEmpty definition code for org.omg.CosNaming.NamingContextPackage.NotEmpty - Indicates that the Naming Context contains bindings.

_ids sample code for org.omg.CosNaming._NamingContextExtStub._ids() definition code for org.omg.CosNaming._NamingContextExtStub._ids()

public String sample code for java.lang.String definition code for java.lang.String [] _ids()
Description copied from class: ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl._ids() definition code for org.omg.CORBA.portable.ObjectImpl._ids()
Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. For example, for a stub, this method returns information about all the interfaces supported by the stub.

Specified by:
_ids sample code for org.omg.CORBA.portable.ObjectImpl._ids() definition code for org.omg.CORBA.portable.ObjectImpl._ids() in class ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
Returns:
the array of all repository identifiers supported by this ObjectImpl instance