001 package org.omg.CosNaming; 002 003 004 /** 005 * org/omg/CosNaming/BindingIteratorOperations.java . 006 * Generated by the IDL-to-Java compiler (portable), version "3.2" 007 * from /home/iurt/rpm/BUILD/geronimo-spec-corba/src/main/idl/CosNaming.idl 008 * Saturday, November 26, 2011 9:53:36 PM UTC 009 */ 010 011 012 /** 013 * The BindingIterator interface allows a client to iterate through 014 * the bindings using the next_one or next_n operations. 015 * 016 * The bindings iterator is obtained by using the <tt>list</tt> 017 * method on the <tt>NamingContext</tt>. 018 * @see org.omg.CosNaming.NamingContext#list 019 */ 020 public interface BindingIteratorOperations 021 { 022 023 /** 024 * This operation returns the next binding. If there are no more 025 * bindings, false is returned. 026 * 027 * @param b the returned binding 028 */ 029 boolean next_one (org.omg.CosNaming.BindingHolder b); 030 031 /** 032 * This operation returns at most the requested number of bindings. 033 * 034 * @param how_many the maximum number of bindings tro return <p> 035 * 036 * @param bl the returned bindings 037 */ 038 boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder bl); 039 040 /** 041 * This operation destroys the iterator. 042 */ 043 void destroy (); 044 } // interface BindingIteratorOperations