org.astrogrid.applications.http
Class HttpApplication
java.lang.Object
java.util.Observable
org.astrogrid.applications.AbstractApplication
org.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
| 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 |
HttpApplication
public HttpApplication(AbstractApplication.IDs id,
Tool tool,
ApplicationInterface applicationInterface,
ProtocolLibrary protocolLibrary)
- Ctor
- Parameters:
id - tool - applicationInterface - protocolLibrary -
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.