org.omg.CosNaming
Class _BindingIteratorStub

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._BindingIteratorStub
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 , BindingIterator sample code for org.omg.CosNaming.BindingIterator definition code for org.omg.CosNaming.BindingIterator , BindingIteratorOperations sample code for org.omg.CosNaming.BindingIteratorOperations definition code for org.omg.CosNaming.BindingIteratorOperations

public class _BindingIteratorStub
extends ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
implements BindingIterator sample code for org.omg.CosNaming.BindingIterator definition code for org.omg.CosNaming.BindingIterator

The BindingIterator interface allows a client to iterate through the bindings using the next_one or next_n operations. The bindings iterator is obtained by using the list method on the NamingContext.

See Also:
NamingContextOperations.list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder) 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) , Serialized Form

Constructor Summary
_BindingIteratorStub sample code for org.omg.CosNaming._BindingIteratorStub._BindingIteratorStub() definition code for org.omg.CosNaming._BindingIteratorStub._BindingIteratorStub() ()
           
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String [] _ids sample code for org.omg.CosNaming._BindingIteratorStub._ids() definition code for org.omg.CosNaming._BindingIteratorStub._ids() ()
          Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
 void destroy sample code for org.omg.CosNaming._BindingIteratorStub.destroy() definition code for org.omg.CosNaming._BindingIteratorStub.destroy() ()
          This operation destroys the iterator.
 boolean next_n sample code for org.omg.CosNaming._BindingIteratorStub.next_n(int, org.omg.CosNaming.BindingListHolder) definition code for org.omg.CosNaming._BindingIteratorStub.next_n(int, org.omg.CosNaming.BindingListHolder) (int how_many, BindingListHolder sample code for org.omg.CosNaming.BindingListHolder definition code for org.omg.CosNaming.BindingListHolder  bl)
          This operation returns at most the requested number of bindings.
 boolean next_one sample code for org.omg.CosNaming._BindingIteratorStub.next_one(org.omg.CosNaming.BindingHolder) definition code for org.omg.CosNaming._BindingIteratorStub.next_one(org.omg.CosNaming.BindingHolder) (BindingHolder sample code for org.omg.CosNaming.BindingHolder definition code for org.omg.CosNaming.BindingHolder  b)
          This operation returns the next binding.
 
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

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

public _BindingIteratorStub()
Method Detail

next_one sample code for org.omg.CosNaming._BindingIteratorStub.next_one(org.omg.CosNaming.BindingHolder) definition code for org.omg.CosNaming._BindingIteratorStub.next_one(org.omg.CosNaming.BindingHolder)

public boolean next_one(BindingHolder sample code for org.omg.CosNaming.BindingHolder definition code for org.omg.CosNaming.BindingHolder  b)
This operation returns the next binding. If there are no more bindings, false is returned.

Specified by:
next_one sample code for org.omg.CosNaming.BindingIteratorOperations.next_one(org.omg.CosNaming.BindingHolder) definition code for org.omg.CosNaming.BindingIteratorOperations.next_one(org.omg.CosNaming.BindingHolder) in interface BindingIteratorOperations sample code for org.omg.CosNaming.BindingIteratorOperations definition code for org.omg.CosNaming.BindingIteratorOperations
Parameters:
b - the returned binding

next_n sample code for org.omg.CosNaming._BindingIteratorStub.next_n(int, org.omg.CosNaming.BindingListHolder) definition code for org.omg.CosNaming._BindingIteratorStub.next_n(int, org.omg.CosNaming.BindingListHolder)

public boolean next_n(int how_many,
                      BindingListHolder sample code for org.omg.CosNaming.BindingListHolder definition code for org.omg.CosNaming.BindingListHolder  bl)
This operation returns at most the requested number of bindings.

Specified by:
next_n sample code for org.omg.CosNaming.BindingIteratorOperations.next_n(int, org.omg.CosNaming.BindingListHolder) definition code for org.omg.CosNaming.BindingIteratorOperations.next_n(int, org.omg.CosNaming.BindingListHolder) in interface BindingIteratorOperations sample code for org.omg.CosNaming.BindingIteratorOperations definition code for org.omg.CosNaming.BindingIteratorOperations
Parameters:
how_many - the maximum number of bindings tro return

bl - the returned bindings

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

public void destroy()
This operation destroys the iterator.

Specified by:
destroy sample code for org.omg.CosNaming.BindingIteratorOperations.destroy() definition code for org.omg.CosNaming.BindingIteratorOperations.destroy() in interface BindingIteratorOperations sample code for org.omg.CosNaming.BindingIteratorOperations definition code for org.omg.CosNaming.BindingIteratorOperations

_ids sample code for org.omg.CosNaming._BindingIteratorStub._ids() definition code for org.omg.CosNaming._BindingIteratorStub._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