|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient
de.fzj.unicore.uas.client.BaseUASClient
de.fzj.unicore.uas.client.EnumerationClient<T>
public class EnumerationClient<T>
a client to access an enumeration service
| Field Summary |
|---|
| Fields inherited from class de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient |
|---|
epr, proxyMaker, retryDecider, securityProperties, url |
| Constructor Summary | |
|---|---|
EnumerationClient(org.w3.x2005.x08.addressing.EndpointReferenceType address,
IUASSecurityProperties sec,
javax.xml.namespace.QName resultQName)
create a new enumeration client |
|
EnumerationClient(org.w3.x2005.x08.addressing.EndpointReferenceType address,
javax.xml.namespace.QName resultQName)
create a new enumeration client |
|
EnumerationClient(java.lang.String url,
org.w3.x2005.x08.addressing.EndpointReferenceType epr,
IUASSecurityProperties sec,
javax.xml.namespace.QName resultQName)
create a new enumeration client |
|
| Method Summary | |
|---|---|
protected Enumeration |
getEnumeration()
|
long |
getNumberOfResults()
get the total number of results that are available |
org.w3.x2005.x08.addressing.EndpointReferenceType |
getParentServiceEPR()
get the address of the parent service instance |
eu.unicore.unicore6.enumeration.EnumerationPropertiesDocument |
getResourcePropertiesDocument()
|
java.util.List<T> |
getResults(long offset,
long length)
get a batch of results of the given length, starting at the given offset |
java.util.Iterator<T> |
iterator()
returns an iterator over the availble results. |
void |
setBatchSize(int batchSize)
set the batch size that is used by the iterator() method |
| Methods inherited from class de.fzj.unicore.uas.client.BaseUASClient |
|---|
extractReceiver, getSecurityProperties, getServerVersion, setRetryDefaults |
| Methods inherited from class de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient |
|---|
checkConnection, checkConnection, destroy, getConnectionStatus, getCurrentTime, getEPR, getLT, getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, GetResourcePropertyDocument, getRP, getTerminationTime, getUpdateInterval, getUrl, makeProxy, queryResourceProperties, setConnectionTimeout, setConnectionTimeout, setRetryHandler, setTerminationTime, setUpdateInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationClient(java.lang.String url,
org.w3.x2005.x08.addressing.EndpointReferenceType epr,
IUASSecurityProperties sec,
javax.xml.namespace.QName resultQName)
throws java.lang.Exception
url - - the URL to connect toepr - - the EPR of the target servicesec - - the security settings to useresultQName - - the type of XML documents that are enumerated
java.lang.Exception
public EnumerationClient(org.w3.x2005.x08.addressing.EndpointReferenceType address,
IUASSecurityProperties sec,
javax.xml.namespace.QName resultQName)
throws java.lang.Exception
epr - - the EPR of the target servicesec - - the security settings to useresultQName - - the type of XML documents that are enumerated
java.lang.Exception
public EnumerationClient(org.w3.x2005.x08.addressing.EndpointReferenceType address,
javax.xml.namespace.QName resultQName)
throws java.lang.Exception
epr - - the EPR of the target serviceresultQName - - the type of XML documents that are enumerated
java.lang.Exception| Method Detail |
|---|
public java.util.List<T> getResults(long offset,
long length)
throws java.lang.Exception
offset - - the offset into the result setlength - - the number of results
java.lang.Exceptionpublic java.util.Iterator<T> iterator()
RuntimeException in case
any of the remote methods throw an exception
iterator in interface java.lang.Iterable<T>
public eu.unicore.unicore6.enumeration.EnumerationPropertiesDocument getResourcePropertiesDocument()
throws java.lang.Exception
java.lang.Exception
public long getNumberOfResults()
throws java.lang.Exception
java.lang.Exception
public org.w3.x2005.x08.addressing.EndpointReferenceType getParentServiceEPR()
throws java.lang.Exception
java.lang.Exception
protected Enumeration getEnumeration()
throws java.lang.Exception
java.lang.Exceptionpublic void setBatchSize(int batchSize)
iterator() method
batchSize - - the batch size, which is expected to be larger than 1
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||