cgl.hpsearch.wsproxy
Class WrapperProxyWebService
java.lang.Object
cgl.hpsearch.wsproxy.ProxyWebService
cgl.hpsearch.wsproxy.WrapperProxyWebService
- All Implemented Interfaces:
- Runnable
- public abstract class WrapperProxyWebService
- extends ProxyWebService
- implements Runnable
Created on Sep 15, 2004
- Author:
- Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)
| Fields inherited from class cgl.hpsearch.wsproxy.ProxyWebService |
container, INCORRECT_PARAMETERS, INIT_FAILURE, INIT_SUCCESS, INVOCATION_ERROR, SERVICE_DONE, SERVICE_FINISHED, SERVICE_NOT_FOUND, SERVICE_READY, SERVICE_RUNNING, SERVICE_STATUS, SERVICE_STOPPED, SERVICE_SUSPENDED, SERVICE_TERMINATED, serviceName |
| Methods inherited from class cgl.hpsearch.wsproxy.ProxyWebService |
cleanup, getContext, getNewTemporaryFileName, getProperty, getStatus, handleException, registerTemporaryFile, serviceExceptions, serviceFinished, setContext, setInvocationHandler, setLogEntry, setProperty, setStatus |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperProxyWebService
public WrapperProxyWebService()
startService
public void startService()
throws Exception
- Specified by:
startService in class ProxyWebService
- Throws:
Exception
stopService
public void stopService()
throws Exception
- Specified by:
stopService in class ProxyWebService
- Throws:
Exception
suspendService
public void suspendService()
throws Exception
- Specified by:
suspendService in class ProxyWebService
- Throws:
Exception
resumeService
public void resumeService()
throws Exception
- Specified by:
resumeService in class ProxyWebService
- Throws:
Exception
process
public abstract void process()
throws Exception
- Description copied from class:
ProxyWebService
- Other services MUST override this. This defines the unit of execution of
the service.
- Specified by:
process in class ProxyWebService
- Throws:
Exception
initService
public abstract void initService(InputStream[] in,
OutputStream[] out)
- Description copied from class:
ProxyWebService
- Should be used by services to set the i/p and o/p streams.
- Specified by:
initService in class ProxyWebService
- Parameters:
in - -
An array containing input streams used by the serviceout - -
An array containing output streams used by the service
Exceptions
public String[] Exceptions()
run
public final void run()
- Specified by:
run in interface Runnable