|
|||||||||||
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.GetMapHandler_Impl.ServiceInvokerForNL
Inner class for accessing the data of one named layer and creating DisplayElements and a Thrme 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
|
private UserStyle[] |
styles
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
(package private) |
GetMapHandler_Impl.ServiceInvokerForNL(Layer layer,
UserStyle[] styles,
int index)
Creates a new ServiceInvokerForNL object. |
Method Summary | |
private OGCWebServiceEvent |
createGetCoverageRequest(DataSource ds)
creates a getCoverage request considering the getMap request and the filterconditions defined in the submitted DataSource object 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 OGCWebServiceEvent |
createGetMapRequest(DataSource ds)
creates a getMap request for requesting a cascaded remote WMS considering the getMap request and the filterconditions defined in the submitted DataSource object The request will be encapsualted within a OGCWebServiceEvent. |
private void |
handleGetCoverageResponse(WCSGetCoverageResponse response)
handles the response of a WCS 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 |
private void |
handleGetMapResponse(WMSGetMapResponse response)
handles the response of a cascaded WMS 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 UserStyle[] styles
private int index
Constructor Detail |
GetMapHandler_Impl.ServiceInvokerForNL(Layer layer, UserStyle[] styles, 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 OGCWebServiceEvent createGetCoverageRequest(DataSource ds) throws InconsistentRequestException
InconsistentRequestException
private OGCWebServiceEvent createGetMapRequest(DataSource ds) throws XMLParsingException
XMLParsingException
public void write(java.lang.Object result)
write
in interface OGCWebServiceClient
result
- to a GetXXX requestprivate void handleGetMapResponse(WMSGetMapResponse response) throws java.lang.Exception
java.lang.Exception
private void handleGetFeatureResponse(WFSGetFeatureResponse response) throws java.lang.Exception
java.lang.Exception
private void handleGetCoverageResponse(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 |