|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.activity.Activity | +--uk.org.ogsadai.activity.delivery.AbstractDTDeliveryActivity | +--uk.org.ogsadai.activity.delivery.AbstractDeliverFromDTActivity | +--uk.org.ogsadai.activity.delivery.wsrf.DeliverFromGDTActivity
This activity gets data from a stream that is part of a currently active session within a data service resource exposed by a data service. The data transport get operations on the data service are used to pull the data to this activity.
Security attributes can be provided on the activity's XML definition provided to the constructor. These determine the security configured between the local and target services. See the following classes for more information.
Currently credentials are not used when communicating with the data service.
For information on this activity see the OGSA-DAI user doc:
OGSA-DAI/doc/interaction/activities/delivery/deliverFromGDT.html
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private static DAILogger |
LOG
Logger object for logging in this class. |
private GSISecureConversationProperty |
mSecurityProperties
Security configuration. |
private DataService |
mServiceStub
Stub for target service |
Fields inherited from class uk.org.ogsadai.activity.delivery.AbstractDeliverFromDTActivity |
mNumBlocks |
Fields inherited from class uk.org.ogsadai.activity.delivery.AbstractDTDeliveryActivity |
mBlockMode, mDeliveryNode, mLocalStream, mResourceID, mServiceType, mServiceURL, mStreamID |
Fields inherited from class uk.org.ogsadai.activity.Activity |
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs |
Constructor Summary | |
DeliverFromGDTActivity(org.w3c.dom.Element activity)
|
Method Summary | |
protected void |
contactTargetService()
Create a stub for the target service. |
protected java.lang.Object |
getFully()
Retrieve data from the target data service. |
protected java.lang.Object |
getNBlocks(int numBlocks)
Retrieve a number of blocks of data from the target data service. |
Methods inherited from class uk.org.ogsadai.activity.delivery.AbstractDeliverFromDTActivity |
initialise, processBlock |
Methods inherited from class uk.org.ogsadai.activity.delivery.AbstractDTDeliveryActivity |
getDeliverySettings, isServiceUnknown, isServiceWSI, isServiceWSRF, processFirst |
Methods inherited from class uk.org.ogsadai.activity.Activity |
cleanUp, connectsTo, createOutputPipe, getActivityConfiguration, getActivityName, getCause, getName, getObservableStatus, getProperties, getSession, getStatus, hasActivityConfiguration, hasProperties, process, setActivityName, setCompleted, setError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private static final DAILogger LOG
private DataService mServiceStub
private GSISecureConversationProperty mSecurityProperties
Constructor Detail |
public DeliverFromGDTActivity(org.w3c.dom.Element activity) throws ActivityCreationException, ActivitySpecificationException
Method Detail |
protected java.lang.Object getFully() throws ActivitySpecificationException, ActivityExecutionException
AbstractDeliverFromDTActivity
getFully
in class AbstractDeliverFromDTActivity
ActivitySpecificationException
- If an error occurs that is caused by
incorrect information in the request e.g. the URL is incorrect
or cannot be contacted.
ActivityExecutionException
- If some internal problem outwith the client's control occurs.protected java.lang.Object getNBlocks(int numBlocks) throws ActivitySpecificationException, ActivityExecutionException
AbstractDeliverFromDTActivity
getNBlocks
in class AbstractDeliverFromDTActivity
numBlocks
- Number of blocks to retrieve.
ActivityExecutionException
- If some internal problem outwith the client's control occurs.
ActivitySpecificationException
- If an error occurs that is caused by
incorrect information in the request e.g. the URL is incorrect
or cannot be contacted.protected void contactTargetService() throws ActivitySpecificationException, ActivityExecutionException
AbstractDTDeliveryActivity
contactTargetService
in class AbstractDTDeliveryActivity
ActivitySpecificationException
- If an error occurs that is caused by
incorrect information in the request e.g. the URL is incorrect
or cannot be contacted.
ActivityExecutionException
- If some internal problem outwith the client's control occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |