changeset 1633:f84ddc205c8b

Made MetaDataService a subclass of FLYSService. flys-artifacts/trunk@2812 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 22 Sep 2011 16:16:55 +0000
parents 2aa727cefb0c
children cc47828a1390
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Sep 22 12:49:18 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Sep 22 16:16:55 2011 +0000
@@ -1,3 +1,9 @@
+2011-09-22  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
+	  Subclasses the FLYSService now - this should improve the database
+	  connection handling.
+
 2011-09-22  Bjoern Schilberg <bjoern.schilberg@intevation.de>
 
 	* doc/mapserver/mosel-mapfile.map:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java	Thu Sep 22 12:49:18 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java	Thu Sep 22 16:16:55 2011 +0000
@@ -13,8 +13,6 @@
 import de.intevation.artifacts.ArtifactDatabase;
 import de.intevation.artifacts.ArtifactDatabaseException;
 
-import de.intevation.artifactdatabase.DefaultService;
-
 import de.intevation.artifacts.common.utils.XMLUtils;
 import de.intevation.artifacts.common.utils.StringUtils;
 
@@ -25,7 +23,7 @@
 import de.intevation.flys.artifacts.FLYSArtifact;
 
 public class MetaDataService
-extends      DefaultService
+extends      FLYSService
 {
     private static Logger log = Logger.getLogger(MetaDataService.class);
 
@@ -42,7 +40,7 @@
     }
 
     @Override
-    public Document process(
+    protected Document doProcess(
         Document      data,
         GlobalContext globalContext,
         CallMeta      callMeta

http://dive4elements.wald.intevation.org