|
|||||||||||
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.sql.SQLQueryMultipleActivity | +--uk.org.ogsadai.activity.sql.SQLResilientQueryActivity
This activity runs queries over two relational data service resources and returns the results as a WebRowSet document from the first one that returns its results.
Each one of the above data service resources is linked to the
multiple data service resource implemented by the
SQLMultipleDataResource
accessor.
The activity's perform document is defined by
schema/ogsadai/xsd/activities/sql_resilient.xsd
.
The activity calls multiple data service resources each one being executed in its own thread.
For information on this activity see the OGSA-DAI user doc:
OGSA-DAI/doc/interaction/activities/relational/sqlResilient.html
Field Summary | |
static java.lang.String |
ACTIVITY_OUTPUT
Constant used to parse request - activity element |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private static DAILogger |
LOG
Logger object for this activity |
private org.w3c.dom.Element |
mActivityElement
XML element containing activity information from request |
static java.lang.String |
SQL_STATEMENT
Constant used to parse request - SQL query statement element |
static java.lang.String |
TIMEOUT
Constant used to parse request - timeout |
Fields inherited from class uk.org.ogsadai.activity.sql.SQLQueryMultipleActivity |
mClientTimeout, mMultipleDS, mOutput, mOutputString, mSqlStatement, mTimeoutStatus, mTimer |
Fields inherited from class uk.org.ogsadai.activity.Activity |
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs |
Constructor Summary | |
SQLResilientQueryActivity(org.w3c.dom.Element element)
|
Method Summary | |
void |
processBlock()
Performs an iteration of the processing of an activity. |
Methods inherited from class uk.org.ogsadai.activity.sql.SQLQueryMultipleActivity |
cleanUp, initialise, isTimeout, setTimeout |
Methods inherited from class uk.org.ogsadai.activity.Activity |
connectsTo, createOutputPipe, getActivityConfiguration, getActivityName, getCause, getName, getObservableStatus, getProperties, getSession, getStatus, hasActivityConfiguration, hasProperties, process, processFirst, 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 org.w3c.dom.Element mActivityElement
public static final java.lang.String ACTIVITY_OUTPUT
public static final java.lang.String SQL_STATEMENT
public static final java.lang.String TIMEOUT
Constructor Detail |
public SQLResilientQueryActivity(org.w3c.dom.Element element) throws ActivitySpecificationException, ActivityCreationException
Method Detail |
public void processBlock()
Activity
setCompleted
method to indicate that
processing is complete, or the setError
method if
an error occurs that will prevent the processing from
completing.
processBlock
in class Activity
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |