deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wmps
Class PrintMapHandler

java.lang.Object
  extended by org.deegree.ogcwebservices.wmps.PrintMapHandler
All Implemented Interfaces:
java.lang.Runnable

public class PrintMapHandler
extends java.lang.Object
implements java.lang.Runnable

Handles the PrintMap request. Retrieves the request from the DB and creates a pdf file.

Version:
2.0, $Revision: 21191 $, $Date: 2009-12-02 19:41:35 +0100 (Mi, 02 Dez 2009) $
Author:
Anup Deshmukh, last edited by: $Author: apoth $

Constructor Summary
PrintMapHandler(WMPSConfiguration configuration)
          Creates a new instance of the PrintMapHandler for the current configuration.
 
Method Summary
 WMPSConfiguration getConfiguration()
          Returns the current configuration used to initialise the PrintMapHandler.
 void run()
          Run a new thread for each PrintMap request.
 byte[] runSynchronous(PrintMap printMap)
          performs a synchronous printMap processing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintMapHandler

public PrintMapHandler(WMPSConfiguration configuration)
Creates a new instance of the PrintMapHandler for the current configuration.

Parameters:
configuration -
Method Detail

run

public void run()
Run a new thread for each PrintMap request. This Thread runs till no more PrintMap requests are available in the DB.

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()

runSynchronous

public byte[] runSynchronous(PrintMap printMap)
                      throws java.lang.Exception
performs a synchronous printMap processing

Parameters:
printMap -
Returns:
byte[]
Throws:
java.lang.Exception

getConfiguration

public WMPSConfiguration getConfiguration()
Returns the current configuration used to initialise the PrintMapHandler.

Returns:
WMPSConfiguration

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org