Mercurial > dive4elements > gnv-client
changeset 961:d98d3e82118c
Add more Javadocs
gnv/trunk@1105 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 18 May 2010 10:17:51 +0000 (2010-05-18) |
parents | c3d628c2c4c3 |
children | e7fda0ae8b92 |
files | gnv/ChangeLog gnv/src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java gnv/src/main/java/de/intevation/gnv/servlet/package.html |
diffstat | 3 files changed, 22 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv/ChangeLog Tue May 18 10:08:57 2010 +0000 +++ b/gnv/ChangeLog Tue May 18 10:17:51 2010 +0000 @@ -1,3 +1,9 @@ +2010-05-18 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java, + src/main/java/de/intevation/gnv/servlet/package.html: + Added more Javadocs. Did some Codeformatting. + 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/propertiesreader/package.html,
--- a/gnv/src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java Tue May 18 10:08:57 2010 +0000 +++ b/gnv/src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java Tue May 18 10:17:51 2010 +0000 @@ -1,17 +1,18 @@ package de.intevation.gnv.servlet; -import de.intevation.gnv.propertiesreader.PropertiesReaderFactory; - import javax.servlet.ServletConfig; import javax.servlet.ServletException; import org.apache.log4j.Logger; import org.apache.log4j.PropertyConfigurator; +import org.apache.struts.action.ActionServlet; -import org.apache.struts.action.ActionServlet; +import de.intevation.gnv.propertiesreader.PropertiesReaderFactory; /** * The GNV ActionServlet. + * This Servelt will be used to handle all requests which are + * send to the GNV-WebClient. * * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> */ @@ -22,12 +23,17 @@ */ private static Logger log = null; - static { - // BasicConfigurator.configure(); - } + /** + * The id which must be used to lookup the path to the + * <code>log4j.properties</code> file which is configured + * in the <code>web.xml</code> + */ + private final static String LOGGINIG_CONFIG_FILE_ID = "de.intevation.gnv." + + "servlet.log4j.configuration"; - static String LOGGINIG_CONFIG_FILE_ID = "de.intevation.gnv.servlet.log4j.configuration"; - + /** + * The UID of this class. + */ private static final long serialVersionUID = 3597396283436383943L;
--- a/gnv/src/main/java/de/intevation/gnv/servlet/package.html Tue May 18 10:08:57 2010 +0000 +++ b/gnv/src/main/java/de/intevation/gnv/servlet/package.html Tue May 18 10:17:51 2010 +0000 @@ -3,6 +3,7 @@ <head> </head> <body> -DOCUMENT ME! +This package provides the <code>Servlet</code> which will be used to handle +all requests which are send to the GNV-WebClient. </body> </html>