org.pasoa.processor
Class Dispatcher
java.lang.Object
org.pasoa.processor.Dispatcher
- All Implemented Interfaces:
- Runnable
- public class Dispatcher
- extends Object
- implements Runnable
- Author:
- Paul Groth pg03r@ecs.soton.ac.uk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dispatcher
public Dispatcher(StorageSystem ss,
PlugInRegistry pir)
processAndDispatch
public void processAndDispatch(InputStream is,
OutputStream os,
String context)
throws Exception
- Processes a SOAP message from the given input stream and dispatches the
contents to the appropriate PlugIn specified by the context.
- Parameters:
is
-
- Throws:
Exception
run
public void run()
- Specified by:
run
in interface Runnable
getResponse
public Document getResponse()
getNumberOfResponses
public int getNumberOfResponses()
shutdown
public void shutdown()
throws Exception
- Throws:
Exception
getProcessCacheItemsWaitTime
public long getProcessCacheItemsWaitTime()
setProcessCacheItemsWaitTime
public void setProcessCacheItemsWaitTime(long waitTime)