com.sun.ws.management.server
Interface EventingIteratorFactory


public interface EventingIteratorFactory


Method Summary
 EnumerationIterator newIterator(HandlerContext context, Eventing request, javax.xml.parsers.DocumentBuilder db, boolean includeItem, boolean includeEPR)
          EnumerationIterator creation.
 

Method Detail

newIterator

EnumerationIterator newIterator(HandlerContext context,
                                Eventing request,
                                javax.xml.parsers.DocumentBuilder db,
                                boolean includeItem,
                                boolean includeEPR)
                                throws UnsupportedFeatureFault,
                                       FaultException
EnumerationIterator creation.

Parameters:
context - the HandlerContext
request - the Enumeration request that this iterator is to fufill
db - the DocumentBuilder to use for items created by this iterator
includeItem - if true the requester wants the item returned, otherwise just the EPR if includeEPR is true
includeEPR - if true the requestor wants the EPR for each item returned, otherwise just the item if includeItem is true. If EPRs are not supported by the iterator, the iterator should throw an UnsupportedFeatureFault.
Returns:
An enumeration iterator for the request
Throws:
UnsupportedFeatureFault - If EPRs are not supported.
FaultException - If a WS-MAN protocol related exception occurs.