comparison artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultService.java @ 89:d348fe1fd822

More javadoc (fixes small glitches, too). artifacts/trunk@845 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 26 Mar 2010 16:16:32 +0000
parents 498bb84334d0
children 68285f7bc476
comparison
equal deleted inserted replaced
88:69c84cf7c5d7 89:d348fe1fd822
6 6
7 import org.apache.log4j.Logger; 7 import org.apache.log4j.Logger;
8 8
9 import org.w3c.dom.Document; 9 import org.w3c.dom.Document;
10 10
11 /**
12 * Trivial implementation of an artifact database service. Useful to
13 * be subclassed.
14 *
15 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
16 */
11 public class DefaultService 17 public class DefaultService
12 implements Service 18 implements Service
13 { 19 {
14 private static Logger logger = Logger.getLogger(DefaultService.class); 20 private static Logger logger = Logger.getLogger(DefaultService.class);
15 21
16 public Document process(Document data, Object globalContext, CallMeta callMeta) { 22 public Document process(
23 Document data,
24 Object globalContext,
25 CallMeta callMeta
26 ) {
17 if (logger.isDebugEnabled()) { 27 if (logger.isDebugEnabled()) {
18 logger.debug("Service.process"); 28 logger.debug("Service.process");
19 } 29 }
20 return XMLUtils.newDocument(); 30 return XMLUtils.newDocument();
21 } 31 }

http://dive4elements.wald.intevation.org