com.bareflow
Interface IRuntimeContextIterator


public interface IRuntimeContextIterator

An iterator over a collection of runtime contexts.

See Also:
IProvider, IRuntimeContext

Method Summary
 void close()
          Closes the iterator
 boolean hasNext()
          Returns true if this iterator has more contexts
 IRuntimeContext next()
          Returns next available data context
 

Method Detail

next

IRuntimeContext next()
                     throws BareflowException
Returns next available data context

Returns:
next available data context
Throws:
BareflowException - if context is not available

hasNext

boolean hasNext()
                throws BareflowException
Returns true if this iterator has more contexts

Returns:
ture if this iterator has more contexts
Throws:
BareflowException

close

void close()
           throws BareflowException
Closes the iterator

Throws:
BareflowException