ojb.broker.server
Class RsIteratorStub

java.lang.Object
  |
  +--ojb.broker.server.RsIteratorStub
All Implemented Interfaces:
java.util.Iterator, java.io.Serializable

public class RsIteratorStub
extends java.lang.Object
implements java.util.Iterator, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
RsIteratorStub(PersistenceBrokerClient pbc, int iid)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void releaseDbResources()
          Release all internally used Database resources of the iterator.
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RsIteratorStub

public RsIteratorStub(PersistenceBrokerClient pbc,
                      int iid)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator
java.util.NoSuchElementException

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

releaseDbResources

public void releaseDbResources()
Release all internally used Database resources of the iterator. Clients must call this methods explicitely if the iterator is not exhausted by the client application. If the Iterator is exhauseted this method will be called implicitely.



Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04