deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wmps
Class PrintMapHandler

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

public class PrintMapHandler
extends Object
implements Runnable

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

Version:
2.0, $Revision: 20691 $, $Date: 2009-11-10 13:48:33 +0100 (Di, 10. Nov 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 sychronous 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 Runnable
See Also:
Runnable.run()

runSynchronous

public byte[] runSynchronous(PrintMap printMap)
                      throws Exception
performs a sychronous printMap processing

Parameters:
printMap -
Returns:
byte[]
Throws:
Exception

getConfiguration

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

Returns:
WMPSConfiguration

deegree 2.3 (2010/04/09 10:10 build-4-official)

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