|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.deegree_impl.services.wms.GetFeatureInfoHandler_Impl.ServiceInvoker
Inner class for accessing the data of one layer and creating a GML document from it. The class extends Thread and implements the run method, so that a parallel data accessing from several layers is possible.
Field Summary | |
private int |
index
|
private Layer |
layer
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
(package private) |
GetFeatureInfoHandler_Impl.ServiceInvoker(Layer layer,
int index)
Creates a new ServiceInvoker object. |
Method Summary | |
private GM_Envelope |
calcTargetArea(DataSource ds)
calculates the target area for the getfeatureinfo request from the maps bounding box, the its size and the image coordinates of interest. |
private OGCWebServiceEvent |
createDescribeCoverageRequest(DataSource ds)
creates a describe Coverage request The request will be encapsualted within a OGCWebServiceEvent. |
private OGCWebServiceEvent |
createGetFeatureInfo(DataSource ds)
creates a GetFeatureInfo request for requesting a cascaded remote WMS The request will be encapsualted within a OGCWebServiceEvent. |
private OGCWebServiceEvent |
createGetFeatureRequest(DataSource ds)
creates a getFeature request considering the getMap request and the filterconditions defined in the submitted DataSource object. |
private void |
handleDescribeCoverageResponse(WCSGetCoverageResponse response)
handles the response of a WCS and calls a factory to create DisplayElement and a Theme from it |
private void |
handleGetFeatureInfoResponse(WMSGetMapResponse response)
handles the response of a cascaded WMS and calls a factory to create DisplayElement and a Theme from it |
private void |
handleGetFeatureResponse(WFSGetFeatureResponse response)
handles the response of a WFS and calls a factory to create DisplayElement and a Theme from it |
void |
run()
overrides the run-method of the parent class Thread for enabling a multi-threaded access to the data. |
void |
write(java.lang.Object result)
The method implements the OGCWebServiceClient interface. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private Layer layer
private int index
Constructor Detail |
GetFeatureInfoHandler_Impl.ServiceInvoker(Layer layer, int index)
layer
- index
- index of the requested layerMethod Detail |
public void run()
run
in interface java.lang.Runnable
private OGCWebServiceEvent createGetFeatureRequest(DataSource ds) throws java.lang.Exception
java.lang.Exception
private GM_Envelope calcTargetArea(DataSource ds) throws WebServiceException
ds
- DataSource of the layer that is requested for feature
infos (each layer may be offered in its own crs)
WebServiceException
private OGCWebServiceEvent createDescribeCoverageRequest(DataSource ds)
private OGCWebServiceEvent createGetFeatureInfo(DataSource ds) throws XMLParsingException
XMLParsingException
public void write(java.lang.Object result)
write
in interface OGCWebServiceClient
result
- to a GetXXX requestprivate void handleGetFeatureInfoResponse(WMSGetMapResponse response) throws java.lang.Exception
java.lang.Exception
private void handleGetFeatureResponse(WFSGetFeatureResponse response) throws java.lang.Exception
java.lang.Exception
private void handleDescribeCoverageResponse(WCSGetCoverageResponse response) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |