org.astrogrid.applications.http
Class HttpApplication

java.lang.Object
  extended byjava.util.Observable
      extended byorg.astrogrid.applications.AbstractApplication
          extended byorg.astrogrid.applications.http.HttpApplication
All Implemented Interfaces:
Application

public class HttpApplication
extends AbstractApplication

An Application that calls an http service, such as a SIAP service. ? Responsible for extracting the relevant info from the application description and passing them to a HttpServiceClient that knows how to call the web service. Handles the threading (so execute doesn't block) and status settings during execution. ?

Author:
jdt

Nested Class Summary
 
Nested classes inherited from class org.astrogrid.applications.AbstractApplication
AbstractApplication.IDs
 
Field Summary
 
Fields inherited from class org.astrogrid.applications.AbstractApplication
ids, lib
 
Constructor Summary
HttpApplication(AbstractApplication.IDs id, Tool tool, ApplicationInterface applicationInterface, ProtocolLibrary protocolLibrary)
          Ctor
 
Method Summary
 java.lang.Runnable createExecutionTask()
           
 boolean execute()
           
 
Methods inherited from class org.astrogrid.applications.AbstractApplication
attemptAbort, checkParameterValues, createAdapters, createTemplateMessage, findInputParameter, findInputParameterAdapter, findOutputParameter, findOutputParameterAdapter, findParameter, findParameterAdapter, getApplicationDescription, getApplicationInterface, getID, getInputParameters, getJobStepID, getResult, getStatus, getTool, getUser, inputParameterAdapters, inputParameterValues, instantiateAdapter, outputParameterAdapters, outputParameterValues, parameterAdapters, parameterValues, reportError, reportError, reportMessage, reportWarning, reportWarning, setStatus, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.astrogrid.applications.Application
addObserver
 

Constructor Detail

HttpApplication

public HttpApplication(AbstractApplication.IDs id,
                       Tool tool,
                       ApplicationInterface applicationInterface,
                       ProtocolLibrary protocolLibrary)
Ctor

Parameters:
id -
tool -
applicationInterface -
protocolLibrary -
Method Detail

createExecutionTask

public java.lang.Runnable createExecutionTask()
                                       throws CeaException
Throws:
CeaException

execute

public boolean execute()
                throws CeaException
Throws:
CeaException


Copyright © 2002-2006 AstroGrid. All Rights Reserved.