|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.wmps.DefaultRequestManager
public class DefaultRequestManager
Default Handler to save the PrintMap requests to the 'HSQLDB' and send email after processing the request.
| Field Summary | |
|---|---|
protected static NamespaceContext |
nsContext
|
| Constructor Summary | |
|---|---|
DefaultRequestManager(WMPSConfiguration configuration,
PrintMap request)
Creates a new DefaultRequestManager instance. |
|
| Method Summary | |
|---|---|
PrintMapResponseDocument |
createFinalResponse(java.lang.String message,
java.lang.String exception)
Export the PrintMap service final response to a PrintMapResponseDocument. |
PrintMapResponseDocument |
createInitialResponse(java.lang.String message)
Send an intial response back to the user, depending on whether the request has been successfull saved in the DB or not. |
WMPSConfiguration |
getConfiguration()
returns the configuration used by the handler |
PrintMap |
getRequest()
returns the request used by the handler |
void |
saveRequestToDB()
Opens a connection to a database based on the properties file in the resources directory and saves the current PrintMap request in the table for later access. |
void |
sendEmail(PrintMapResponseDocument response)
Send an Email to the address provided in the PrintMap request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static NamespaceContext nsContext
| Constructor Detail |
|---|
public DefaultRequestManager(WMPSConfiguration configuration,
PrintMap request)
configuration - request - request to perform| Method Detail |
|---|
public WMPSConfiguration getConfiguration()
public PrintMap getRequest()
public void saveRequestToDB()
throws OGCWebServiceException
saveRequestToDB in interface RequestManagerOGCWebServiceException
public PrintMapResponseDocument createInitialResponse(java.lang.String message)
throws OGCWebServiceException
createInitialResponse in interface RequestManagermessage -
OGCWebServiceException
public void sendEmail(PrintMapResponseDocument response)
throws OGCWebServiceException
sendEmail in interface RequestManagerresponse -
OGCWebServiceException
public PrintMapResponseDocument createFinalResponse(java.lang.String message,
java.lang.String exception)
throws OGCWebServiceException
createFinalResponse in interface RequestManagermessage - exception -
OGCWebServiceException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org