com.sun.ws.management.server
Interface EventingIteratorFactory
public interface EventingIteratorFactory
newIterator
EnumerationIterator newIterator(HandlerContext context,
Eventing request,
javax.xml.parsers.DocumentBuilder db,
boolean includeItem,
boolean includeEPR)
throws UnsupportedFeatureFault,
FaultException
- EnumerationIterator creation.
- Parameters:
context
- the HandlerContextrequest
- the Enumeration request that this iterator is to fufilldb
- the DocumentBuilder to use for items created by this iteratorincludeItem
- if true the requester wants the item returned, otherwise
just the EPR if includeEPR is trueincludeEPR
- 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.