Package org.omg.CosNaming
Class BindingIteratorPOATie
- java.lang.Object
-
- org.omg.PortableServer.Servant
-
- org.omg.CosNaming.BindingIteratorPOA
-
- org.omg.CosNaming.BindingIteratorPOATie
-
- All Implemented Interfaces:
InvokeHandler,BindingIteratorOperations
public class BindingIteratorPOATie extends BindingIteratorPOA
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.
-
-
Field Summary
Fields Modifier and Type Field Description private BindingIteratorOperations_implprivate POA_poa
-
Constructor Summary
Constructors Constructor Description BindingIteratorPOATie(BindingIteratorOperations delegate)BindingIteratorPOATie(BindingIteratorOperations delegate, POA poa)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description POA_default_POA()Returns the root POA from the ORB instance associated with the servant.BindingIteratorOperations_delegate()void_delegate(BindingIteratorOperations delegate)voiddestroy()This operation destroys the iterator.booleannext_n(int how_many, BindingListHolder bl)This operation returns at most the requested number of bindings.booleannext_one(BindingHolder b)This operation returns the next binding.-
Methods inherited from class org.omg.CosNaming.BindingIteratorPOA
_all_interfaces, _invoke, _this, _this
-
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
-
-
-
-
Field Detail
-
_impl
private BindingIteratorOperations _impl
-
_poa
private POA _poa
-
-
Constructor Detail
-
BindingIteratorPOATie
public BindingIteratorPOATie(BindingIteratorOperations delegate)
-
BindingIteratorPOATie
public BindingIteratorPOATie(BindingIteratorOperations delegate, POA poa)
-
-
Method Detail
-
_delegate
public BindingIteratorOperations _delegate()
-
_delegate
public void _delegate(BindingIteratorOperations delegate)
-
_default_POA
public POA _default_POA()
Description copied from class:ServantReturns the root POA from the ORB instance associated with the servant. Subclasses may override this method to return a different POA.- Overrides:
_default_POAin classServant- Returns:
default_POAthe POA associated with theServant.
-
next_one
public boolean next_one(BindingHolder b)
This operation returns the next binding. If there are no more bindings, false is returned.- Parameters:
b- the returned binding- Returns:
- true if there are more bindings
-
next_n
public boolean next_n(int how_many, BindingListHolder bl)This operation returns at most the requested number of bindings.- Parameters:
how_many- the maximum number of bindings to returnbl- the returned bindings- Returns:
- the bindings
-
destroy
public void destroy()
This operation destroys the iterator.
-
-