org.exolab.jms.tools.migration
Interface StoreIterator

All Known Implementing Classes:
IteratorAdapter

public interface StoreIterator

An iterator over a Store.

Version:
$Revision: 1.1 $ $Date: 2005/09/04 07:07:12 $
Author:
Tim Anderson

Method Summary
 boolean hasNext()
          Returns true if the iterator has more elements.
 java.lang.Object next()
          Returns the next element in the interation.
 

Method Detail

hasNext

public boolean hasNext()
Returns true if the iterator has more elements.
Returns:
true if the iterator has more elements.

next

public java.lang.Object next()
                      throws javax.jms.JMSException,
                             org.exolab.jms.persistence.PersistenceException
Returns the next element in the interation.
Returns:
the next element in the iteration.
Throws:
javax.jms.JMSException - for any JMS error
org.exolab.jms.persistence.PersistenceException - for any persistence error
java.util.NoSuchElementException - iteration has no more elements.


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.