changeset 939:32d0a543e3e8

Adapted a method signature of FLYSContextFactory to apply the changes in the artifact database. flys-artifacts/trunk@2332 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 14 Jul 2011 14:25:36 +0000 (2011-07-14)
parents bd3683453928
children f4439e015278
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Jul 14 14:11:29 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Jul 14 14:25:36 2011 +0000
@@ -1,3 +1,9 @@
+2011-07-14  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
+	  Adapted the signature of createArtifactContext() - it returns an
+	  instance of GlobalContext now.
+
 2011-07-14  Sascha L. Teichmann <sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java	Thu Jul 14 14:11:29 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java	Thu Jul 14 14:25:36 2011 +0000
@@ -16,6 +16,7 @@
 import org.w3c.dom.NodeList;
 
 import de.intevation.artifacts.ArtifactContextFactory;
+import de.intevation.artifacts.GlobalContext;
 
 import de.intevation.artifacts.common.utils.XMLUtils;
 import de.intevation.artifacts.common.utils.Config;
@@ -79,7 +80,7 @@
      * @param config The artifact server configuration.
      * @return a FLYSArtifactContext.
      */
-    public Object createArtifactContext(Document config) {
+    public GlobalContext createArtifactContext(Document config) {
         FLYSContext context = new FLYSContext(config);
 
         configureTransitions(config, context);

http://dive4elements.wald.intevation.org