|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.wsenum.utils.EnumerateResponseFactory
public class EnumerateResponseFactory
EnumerateResponseFactory Utility to create Enumeration resources, set up Enum Iterators, and finally create EnumerateResponses
| Constructor Summary | |
|---|---|
EnumerateResponseFactory()
|
|
| Method Summary | |
|---|---|
static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse |
createCustomResponse(org.globus.ws.enumeration.EnumIterator iter,
boolean persist)
Creates an enumeration response using a custom EnumIterator and the default ExpirationType. |
static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse |
createCustomResponse(org.globus.ws.enumeration.EnumIterator iter,
boolean persist,
org.xmlsoap.schemas.ws._2004._09.enumeration.ExpirationType expiration)
Creates an enumeration response using a custom EnumIterator and the supplied ExpirationType. |
static EnumerationResponseContainer |
createEnumerationResponse(org.globus.ws.enumeration.EnumIterator enumIter)
|
static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse |
createInMemoryResponse(java.util.List enumObjects,
javax.xml.namespace.QName objectQName)
Creates an enumerate response using an in-memory SimpleEnumIterator, using the default ExpirationType |
static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse |
createInMemoryResponse(java.util.List enumObjects,
javax.xml.namespace.QName objectQName,
org.xmlsoap.schemas.ws._2004._09.enumeration.ExpirationType expiration)
Creates an enumerate response using an in-memory SimpleEnumIterator using the provided expiration information |
static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse |
createPersistantResponse(java.util.List enumObjects,
javax.xml.namespace.QName objectQName)
Creates an enumerate response using an IndexedObjectFileEnumIterator. |
static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse |
createPersistantResponse(java.util.List enumObjects,
javax.xml.namespace.QName objectQName,
org.xmlsoap.schemas.ws._2004._09.enumeration.ExpirationType expiration)
Creates an enumerate response using an IndexedObjectFileEnumIterator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerateResponseFactory()
| Method Detail |
|---|
public static EnumerationResponseContainer createEnumerationResponse(org.globus.ws.enumeration.EnumIterator enumIter)
throws EnumerationCreationException
EnumerationCreationException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse createInMemoryResponse(java.util.List enumObjects,
javax.xml.namespace.QName objectQName)
throws EnumerationCreationException
enumObjects - The list of objects to enumerate overobjectQName - The QName of the objects
EnumerationCreationException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse createInMemoryResponse(java.util.List enumObjects,
javax.xml.namespace.QName objectQName,
org.xmlsoap.schemas.ws._2004._09.enumeration.ExpirationType expiration)
throws EnumerationCreationException
enumObjects - The list of objects to enumerate overobjectQName - The QName of the objectsexpiration - The expiration information for the newly created resource
EnumerationCreationException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse createPersistantResponse(java.util.List enumObjects,
javax.xml.namespace.QName objectQName)
throws EnumerationCreationException
java.io.Serializable interface. The default ExpirationType will
be used.
enumObjects - The list of objects to be enumeratedobjectQName - The QName of the objects
EnumerationCreationException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse createPersistantResponse(java.util.List enumObjects,
javax.xml.namespace.QName objectQName,
org.xmlsoap.schemas.ws._2004._09.enumeration.ExpirationType expiration)
throws EnumerationCreationException
enumObjects - The list of objects to be enumeratedobjectQName - The QName of the objectsexpiration - The expiration information for the enumeration
EnumerationCreationException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse createCustomResponse(org.globus.ws.enumeration.EnumIterator iter,
boolean persist)
throws EnumerationCreationException
iter - The custom EnumIter implementation to usepersist - If true, the iterator will have it's contents
serialized to disk. This requires the objects returned by
the iterator implement java.io.Serializable
EnumerationCreationException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.EnumerateResponse createCustomResponse(org.globus.ws.enumeration.EnumIterator iter,
boolean persist,
org.xmlsoap.schemas.ws._2004._09.enumeration.ExpirationType expiration)
throws EnumerationCreationException
iter - The custom EnumIter implementation to usepersist - If true, the iterator will have it's contents
serialized to disk. This requires the objects returned by
the iterator implement java.io.Serializableexpiration - The expiration information to use for the enumeration's lifetime.
EnumerationCreationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||