org.deegree.portal.owswatch
Class ServiceInvoker
java.lang.Object
  
java.lang.Thread
      
org.deegree.portal.owswatch.ServiceInvoker
- All Implemented Interfaces: 
 - Serializable, Runnable
 
public class ServiceInvoker
- extends Thread
- implements Serializable
  
Executes the tests on a certain service. It also calls the validator and logs the result in the protocol file This
 class extends Thread. On call of start() will execute the functionality of the class as described above
- Version:
 
  - $Revision: 1.2 $, $Date: 2008-03-20 16:33:27 $
 
- Author:
 
  - Moataz Elmasry, last edited by: $Author: elmasry $
 
- See Also:
 - Serialized Form
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Thread | 
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield | 
 
 
ServiceInvoker
public ServiceInvoker(ServiceConfiguration serviceconfig,
                      ServiceLog serviceLog)
- Parameters:
 serviceconfig - serviceLog - 
executeTestThreaded
public void executeTestThreaded()
- Executes the test in a separate thread
 
 
 
run
public void run()
- Specified by:
 run in interface Runnable- Overrides:
 run in class Thread
 
 
executeTest
public void executeTest()
- Executes the test in the main thread
 
 
 
executeHttpMethod
protected ValidatorResponse executeHttpMethod(org.apache.commons.httpclient.HttpMethodBase method)
                                       throws OGCWebServiceException
 
- Parameters:
 method - 
- Returns:
 - The response OGCWebServiceResponseData
 - Throws:
 OGCWebServiceException
 
getServiceConfig
public ServiceConfiguration getServiceConfig()
 
- Returns:
 - ServiceConfiguration
 
 
getServiceLog
public ServiceLog getServiceLog()
 
- Returns:
 - ServiceLog
 
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org