changeset 6138:1d690acf1fdb

Add debug output in static d4e artifact ctor Helps to read from the debug output if an artifact inherits static artifact or not
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 31 May 2013 15:24:53 +0200
parents 8352243ace19
children 7c2a30198592
files artifacts/src/main/java/org/dive4elements/river/artifacts/StaticD4EArtifact.java
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/StaticD4EArtifact.java	Fri May 31 15:22:04 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/StaticD4EArtifact.java	Fri May 31 15:24:53 2013 +0200
@@ -18,6 +18,9 @@
 
 import org.dive4elements.artifacts.ArtifactNamespaceContext;
 import org.dive4elements.artifacts.CallContext;
+import org.dive4elements.artifacts.Artifact;
+import org.dive4elements.artifacts.ArtifactFactory;
+import org.dive4elements.artifacts.CallMeta;
 
 import org.dive4elements.artifactdatabase.data.StateData;
 import org.dive4elements.artifactdatabase.ProtocolUtils;
@@ -125,5 +128,17 @@
 
         return outs;
     }
+
+    @Override
+    public void setup(
+        String          identifier,
+        ArtifactFactory factory,
+        Object          context,
+        CallMeta        callMeta,
+        Document        data)
+    {
+        logger.debug("StaticD4EArtifact.setup");
+        super.setup(identifier, factory, context, callMeta, data);
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org