|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.wsenum.utils.BaseSDKObjectIterator
gov.nih.nci.cagrid.wsenum.utils.SimplePersistantSDKObjectIterator
public class SimplePersistantSDKObjectIterator
PersistantSDKObjectIterator Enumeration iterator which provides for persisting caCORE SDK objects to disk. This iterator makes no attempt to respect any IterationConstraints except for maxElements.
| Method Summary | |
|---|---|
static org.globus.ws.enumeration.EnumIterator |
createIterator(java.util.List objects,
javax.xml.namespace.QName objectQName)
|
static org.globus.ws.enumeration.EnumIterator |
createIterator(java.util.List objects,
javax.xml.namespace.QName objectQName,
java.io.InputStream wsddInput)
Serializes a List of caCORE SDK generated objects to a temp file on the local disk, then creates an EnumIterator which can return those objects. |
static org.globus.ws.enumeration.EnumIterator |
createIterator(java.util.List objects,
javax.xml.namespace.QName objectQName,
java.io.InputStream wsddInput,
java.lang.String filename)
Serializes a List of caCORE SDK generated objects to a specified file on the local disk, then creates an EnumIterator which can return those objects. |
org.globus.ws.enumeration.IterationResult |
next(org.globus.ws.enumeration.IterationConstraints constraints)
Retrieves the next set of items of the enumeration. |
| Methods inherited from class gov.nih.nci.cagrid.wsenum.utils.BaseSDKObjectIterator |
|---|
enumerationIsReleased, getNextXmlChunk, getObjectQName, release, wrapUpElements, writeSdkObjects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.globus.ws.enumeration.EnumIterator createIterator(java.util.List objects,
javax.xml.namespace.QName objectQName)
throws java.lang.Exception
java.lang.Exception
public static org.globus.ws.enumeration.EnumIterator createIterator(java.util.List objects,
javax.xml.namespace.QName objectQName,
java.io.InputStream wsddInput)
throws java.lang.Exception
objects - The list of caCORE SDK objects to be enumeratedobjectQName - The QName of the objectswsddInput - An input stream of the WSDD configuration
java.lang.Exception
public static org.globus.ws.enumeration.EnumIterator createIterator(java.util.List objects,
javax.xml.namespace.QName objectQName,
java.io.InputStream wsddInput,
java.lang.String filename)
throws java.lang.Exception
objects - The list of caCORE SDK objects to be enumeratedobjectQName - The QName of the objectsfilename - The name of the file to serialize objects into.
NOTE: For security reasons, access to this location
must be controlled in a production data environment.wsddInput - An input stream of the WSDD configuration
java.lang.Exception
public org.globus.ws.enumeration.IterationResult next(org.globus.ws.enumeration.IterationConstraints constraints)
throws org.globus.ws.enumeration.TimeoutException,
java.util.NoSuchElementException
constraints - the constrains for this iteration. Can be null.
If null, default constraints must be assumed.
org.globus.ws.enumeration.TimeoutException - if maxTime constraint was specified
and the enumeration data was not collected within that time.
This is never thrown in this implementation
java.util.NoSuchElementException - if iterator has no more elements
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||