Class ArrayEventListenerIterator

  extended by org.apache.jackrabbit.rmi.iterator.ArrayIterator
      extended by org.apache.jackrabbit.rmi.iterator.ArrayEventListenerIterator
All Implemented Interfaces:
Iterator, EventListenerIterator, RangeIterator

public class ArrayEventListenerIterator
extends ArrayIterator
implements EventListenerIterator

Array implementation of the JCR EventListenerIterator interface. This class is used by the JCR-RMI client adapters to convert listener arrays to iterators.

Constructor Summary
ArrayEventListenerIterator(EventListener[] listeners)
          Creates an iterator for the given array of listeners.
Method Summary
 EventListener nextEventListener()
Methods inherited from class org.apache.jackrabbit.rmi.iterator.ArrayIterator
getPosition, getSize, hasNext, next, remove, skip
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
Methods inherited from interface java.util.Iterator
hasNext, next, remove

Constructor Detail


public ArrayEventListenerIterator(EventListener[] listeners)
Creates an iterator for the given array of listeners.

listeners - the listeners to iterate
Method Detail


public EventListener nextEventListener()

Specified by:
nextEventListener in interface EventListenerIterator

Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.