diff flys-aft/src/main/java/de/intevation/aft/River.java @ 4077:97de7a552b79

Load DIPS XML flys-aft/trunk@3452 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 16 Dec 2011 16:21:59 +0000
parents 039413d7e394
children 0944cdd2ee90
line wrap: on
line diff
--- a/flys-aft/src/main/java/de/intevation/aft/River.java	Fri Dec 16 11:26:12 2011 +0000
+++ b/flys-aft/src/main/java/de/intevation/aft/River.java	Fri Dec 16 16:21:59 2011 +0000
@@ -26,13 +26,12 @@
         return name;
     }
 
-    public void sync(
-        ConnectedStatements aftStatements,
-        ConnectedStatements flysStatements
-    )
-    throws SQLException
-    {
+    public void sync(SyncContext context) throws SQLException {
         log.info("sync river: " + this);
+
+        ConnectedStatements flysStatements = context.getFlysStatements();
+        ConnectedStatements aftStatements  = context.getAftStatements();
+
         ResultSet messstellenRs = aftStatements
             .getStatement("select.messstelle")
             .clearParameters()

http://dive4elements.wald.intevation.org