org.omg.CosNaming
Class BindingIteratorPOA

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.PortableServer.Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant 
      extended by org.omg.CosNaming.BindingIteratorPOA
All Implemented Interfaces:
InvokeHandler sample code for org.omg.CORBA.portable.InvokeHandler definition code for org.omg.CORBA.portable.InvokeHandler , BindingIteratorOperations sample code for org.omg.CosNaming.BindingIteratorOperations definition code for org.omg.CosNaming.BindingIteratorOperations

public abstract class BindingIteratorPOA
extends Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant
implements BindingIteratorOperations sample code for org.omg.CosNaming.BindingIteratorOperations definition code for org.omg.CosNaming.BindingIteratorOperations , InvokeHandler sample code for org.omg.CORBA.portable.InvokeHandler definition code for org.omg.CORBA.portable.InvokeHandler

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)

Constructor Summary
BindingIteratorPOA sample code for org.omg.CosNaming.BindingIteratorPOA.BindingIteratorPOA() definition code for org.omg.CosNaming.BindingIteratorPOA.BindingIteratorPOA() ()
           
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String [] _all_interfaces sample code for org.omg.CosNaming.BindingIteratorPOA._all_interfaces(org.omg.PortableServer.POA, byte[]) definition code for org.omg.CosNaming.BindingIteratorPOA._all_interfaces(org.omg.PortableServer.POA, byte[]) (POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  poa, byte[] objectId)
          Used by the ORB to obtain complete type information from the servant.
 OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream _invoke sample code for org.omg.CosNaming.BindingIteratorPOA._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler) definition code for org.omg.CosNaming.BindingIteratorPOA._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler) (String sample code for java.lang.String definition code for java.lang.String  $method, InputStream sample code for org.omg.CORBA.portable.InputStream definition code for org.omg.CORBA.portable.InputStream  in, ResponseHandler sample code for org.omg.CORBA.portable.ResponseHandler definition code for org.omg.CORBA.portable.ResponseHandler  $rh)
          Invoked by the ORB to dispatch a request to the servant.
 BindingIterator sample code for org.omg.CosNaming.BindingIterator definition code for org.omg.CosNaming.BindingIterator _this sample code for org.omg.CosNaming.BindingIteratorPOA._this() definition code for org.omg.CosNaming.BindingIteratorPOA._this() ()
           
 BindingIterator sample code for org.omg.CosNaming.BindingIterator definition code for org.omg.CosNaming.BindingIterator _this sample code for org.omg.CosNaming.BindingIteratorPOA._this(org.omg.CORBA.ORB) definition code for org.omg.CosNaming.BindingIteratorPOA._this(org.omg.CORBA.ORB) (ORB sample code for org.omg.CORBA.ORB definition code for org.omg.CORBA.ORB  orb)
           
 
Methods inherited from class org.omg.PortableServer.Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant
_default_POA sample code for org.omg.PortableServer.Servant._default_POA() definition code for org.omg.PortableServer.Servant._default_POA() , _get_delegate sample code for org.omg.PortableServer.Servant._get_delegate() definition code for org.omg.PortableServer.Servant._get_delegate() , _get_interface_def sample code for org.omg.PortableServer.Servant._get_interface_def() definition code for org.omg.PortableServer.Servant._get_interface_def() , _is_a sample code for org.omg.PortableServer.Servant._is_a(java.lang.String) definition code for org.omg.PortableServer.Servant._is_a(java.lang.String) , _non_existent sample code for org.omg.PortableServer.Servant._non_existent() definition code for org.omg.PortableServer.Servant._non_existent() , _object_id sample code for org.omg.PortableServer.Servant._object_id() definition code for org.omg.PortableServer.Servant._object_id() , _orb sample code for org.omg.PortableServer.Servant._orb() definition code for org.omg.PortableServer.Servant._orb() , _poa sample code for org.omg.PortableServer.Servant._poa() definition code for org.omg.PortableServer.Servant._poa() , _set_delegate sample code for org.omg.PortableServer.Servant._set_delegate(org.omg.PortableServer.portable.Delegate) definition code for org.omg.PortableServer.Servant._set_delegate(org.omg.PortableServer.portable.Delegate) , _this_object sample code for org.omg.PortableServer.Servant._this_object() definition code for org.omg.PortableServer.Servant._this_object() , _this_object sample code for org.omg.PortableServer.Servant._this_object(org.omg.CORBA.ORB) definition code for org.omg.PortableServer.Servant._this_object(org.omg.CORBA.ORB)
 
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() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , 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() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , 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() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , 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.CosNaming.BindingIteratorOperations sample code for org.omg.CosNaming.BindingIteratorOperations definition code for org.omg.CosNaming.BindingIteratorOperations
destroy sample code for org.omg.CosNaming.BindingIteratorOperations.destroy() definition code for org.omg.CosNaming.BindingIteratorOperations.destroy() , 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) , 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)
 

Constructor Detail

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

public BindingIteratorPOA()
Method Detail

_invoke sample code for org.omg.CosNaming.BindingIteratorPOA._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler) definition code for org.omg.CosNaming.BindingIteratorPOA._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler)

public OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream  _invoke(String sample code for java.lang.String definition code for java.lang.String  $method,
                            InputStream sample code for org.omg.CORBA.portable.InputStream definition code for org.omg.CORBA.portable.InputStream  in,
                            ResponseHandler sample code for org.omg.CORBA.portable.ResponseHandler definition code for org.omg.CORBA.portable.ResponseHandler  $rh)
Description copied from interface: InvokeHandler sample code for org.omg.CORBA.portable.InvokeHandler._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler) definition code for org.omg.CORBA.portable.InvokeHandler._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler)
Invoked by the ORB to dispatch a request to the servant. ORB passes the method name, an InputStream containing the marshalled arguments, and a ResponseHandler which the servant uses to construct a proper reply. Only CORBA SystemException may be thrown by this method. The method must return an OutputStream created by the ResponseHandler which contains the marshalled reply. A servant must not retain a reference to the ResponseHandler beyond the lifetime of a method invocation. Servant behaviour is defined as follows:

1. Determine correct method, and unmarshal parameters from InputStream.

2. Invoke method implementation.

3. If no user exception, create a normal reply using ResponseHandler.

4. If user exception occurred, create exception reply using ResponseHandler.

5. Marshal reply into OutputStream returned by ResponseHandler.

6. Return OutputStream to ORB.

Specified by:
_invoke sample code for org.omg.CORBA.portable.InvokeHandler._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler) definition code for org.omg.CORBA.portable.InvokeHandler._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler) in interface InvokeHandler sample code for org.omg.CORBA.portable.InvokeHandler definition code for org.omg.CORBA.portable.InvokeHandler
Parameters:
$method - The method name.
in - The InputStream containing the marshalled arguments.
$rh - The ResponseHandler which the servant uses to construct a proper reply
Returns:
The OutputStream created by the ResponseHandler which contains the marshalled reply

_all_interfaces sample code for org.omg.CosNaming.BindingIteratorPOA._all_interfaces(org.omg.PortableServer.POA, byte[]) definition code for org.omg.CosNaming.BindingIteratorPOA._all_interfaces(org.omg.PortableServer.POA, byte[])

public String sample code for java.lang.String definition code for java.lang.String [] _all_interfaces(POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  poa,
                                byte[] objectId)
Description copied from class: Servant sample code for org.omg.PortableServer.Servant._all_interfaces(org.omg.PortableServer.POA, byte[]) definition code for org.omg.PortableServer.Servant._all_interfaces(org.omg.PortableServer.POA, byte[])
Used by the ORB to obtain complete type information from the servant.

Specified by:
_all_interfaces sample code for org.omg.PortableServer.Servant._all_interfaces(org.omg.PortableServer.POA, byte[]) definition code for org.omg.PortableServer.Servant._all_interfaces(org.omg.PortableServer.POA, byte[]) in class Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant
Parameters:
poa - POA with which the servant is associated.
objectId - is the id corresponding to the object associated with this servant.
Returns:
list of type information for the object.

_this sample code for org.omg.CosNaming.BindingIteratorPOA._this() definition code for org.omg.CosNaming.BindingIteratorPOA._this()

public BindingIterator sample code for org.omg.CosNaming.BindingIterator definition code for org.omg.CosNaming.BindingIterator  _this()

_this sample code for org.omg.CosNaming.BindingIteratorPOA._this(org.omg.CORBA.ORB) definition code for org.omg.CosNaming.BindingIteratorPOA._this(org.omg.CORBA.ORB)

public BindingIterator sample code for org.omg.CosNaming.BindingIterator definition code for org.omg.CosNaming.BindingIterator  _this(ORB sample code for org.omg.CORBA.ORB definition code for org.omg.CORBA.ORB  orb)