uk.org.ogsadai.activity.delivery
Class DeliverToURLActivity

java.lang.Object
  |
  +--uk.org.ogsadai.activity.Activity
        |
        +--uk.org.ogsadai.activity.delivery.AbstractDeliverToAddressActivity
              |
              +--uk.org.ogsadai.activity.delivery.DeliverToURLActivity

public class DeliverToURLActivity
extends AbstractDeliverToAddressActivity

An activity that consumes data produced by another activity and delivers it to a URL. See the activity user documentation for more details: OGSADAI/doc/interaction/activities/delivery/deliverToURL.html

Author:
The OGSA-DAI Project Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private static DAILogger LOG
          Logger object for logging in this class
private  java.net.URL mToURL
          URL to write data to.
 
Fields inherited from class uk.org.ogsadai.activity.delivery.AbstractDeliverToAddressActivity
mInput, mOutputStream, mToAddress, mWriter
 
Fields inherited from class uk.org.ogsadai.activity.Activity
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs
 
Constructor Summary
DeliverToURLActivity(org.w3c.dom.Element element)
           
 
Method Summary
 void processFirst()
          This method is called during the first iteration of processing an activity.
 
Methods inherited from class uk.org.ogsadai.activity.delivery.AbstractDeliverToAddressActivity
initialise, processBlock, setupInput
 
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

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

LOG

private static final DAILogger LOG
Logger object for logging in this class


mToURL

private java.net.URL mToURL
URL to write data to.

Constructor Detail

DeliverToURLActivity

public DeliverToURLActivity(org.w3c.dom.Element element)
                     throws ActivityCreationException,
                            ActivitySpecificationException
Method Detail

processFirst

public void processFirst()
Description copied from class: Activity
This method is called during the first iteration of processing an activity. It can be overridden by subclasses to define some processing that should be done only once during the first iteration of the activity processing, for example evaluating a database query.

Specified by:
processFirst in class AbstractDeliverToAddressActivity