KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CosNaming > BindingIteratorOperations


1 package org.omg.CosNaming;
2
3
4 /**
5 * org/omg/CosNaming/BindingIteratorOperations.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.2"
7 * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl
8 * Saturday, February 9, 2008 9:40:10 AM GMT
9 */

10
11
12 /**
13    * The BindingIterator interface allows a client to iterate through
14    * the bindings using the next_one or next_n operations.
15    *
16    * The bindings iterator is obtained by using the <tt>list</tt>
17    * method on the <tt>NamingContext</tt>.
18    * @see org.omg.CosNaming.NamingContext#list
19    */

20 public interface BindingIteratorOperations
21 {
22
23   /**
24      * This operation returns the next binding. If there are no more
25      * bindings, false is returned.
26      *
27      * @param b the returned binding
28      */

29   boolean next_one (org.omg.CosNaming.BindingHolder JavaDoc b);
30
31   /**
32      * This operation returns at most the requested number of bindings.
33      *
34      * @param how_many the maximum number of bindings tro return <p>
35      *
36      * @param bl the returned bindings
37      */

38   boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder JavaDoc bl);
39
40   /**
41      * This operation destroys the iterator.
42      */

43   void destroy ();
44 } // interface BindingIteratorOperations
45
Popular Tags