|
|||||||||
| 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.ConcurrenPersistantObjectEnumIterator
public class ConcurrenPersistantObjectEnumIterator
ConcurrenPersistantObjectEnumIterator EnumIterator implementation which uses the Java 5 Concurrent package
| Constructor Summary | |
|---|---|
ConcurrenPersistantObjectEnumIterator(java.io.File file,
javax.xml.namespace.QName objectQName)
|
|
| Method Summary | |
|---|---|
static org.globus.ws.enumeration.EnumIterator |
createIterator(java.util.Iterator objectIter,
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.Iterator objectIter,
javax.xml.namespace.QName objectQName,
java.io.InputStream wsddInput,
java.lang.String tempFilename)
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. |
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 tempFilename)
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. |
protected java.util.concurrent.Callable<org.globus.ws.enumeration.IterationResult> |
getResultsCreator(org.globus.ws.enumeration.IterationConstraints constraints)
|
org.globus.ws.enumeration.IterationResult |
next(org.globus.ws.enumeration.IterationConstraints constraints)
|
| 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 |
| Constructor Detail |
|---|
public ConcurrenPersistantObjectEnumIterator(java.io.File file,
javax.xml.namespace.QName objectQName)
throws java.io.FileNotFoundException
java.io.FileNotFoundException| 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 to the WSDD configuration file
java.lang.Exception
public static org.globus.ws.enumeration.EnumIterator createIterator(java.util.Iterator objectIter,
javax.xml.namespace.QName objectQName,
java.io.InputStream wsddInput)
throws java.lang.Exception
objectIter - An iterator to a collection of caCORE SDK objects to be enumeratedobjectQName - The QName of the objectswsddInput - An input stream to the WSDD configuration file
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 tempFilename)
throws java.lang.Exception
objects - The list of caCORE SDK objects to be enumeratedobjectQName - The QName of the objectstempFilename - 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 file
java.lang.Exception
public static org.globus.ws.enumeration.EnumIterator createIterator(java.util.Iterator objectIter,
javax.xml.namespace.QName objectQName,
java.io.InputStream wsddInput,
java.lang.String tempFilename)
throws java.lang.Exception
objectIter - An iterator to a collection of caCORE SDK objects to be enumeratedobjectQName - The QName of the objectstempFilename - 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 file
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
org.globus.ws.enumeration.TimeoutException
java.util.NoSuchElementExceptionprotected java.util.concurrent.Callable<org.globus.ws.enumeration.IterationResult> getResultsCreator(org.globus.ws.enumeration.IterationConstraints constraints)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||