[Dive4elements-commits] [PATCH 4 of 6] Add debug output in static d4e artifact ctor
Wald Commits
scm-commit at wald.intevation.org
Fri May 31 15:30:24 CEST 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1370006693 -7200
# Node ID 1d690acf1fdbd9a78b96baa07c9de2925c357363
# Parent 8352243ace198afde15cc1d332353a98b9daecce
Add debug output in static d4e artifact ctor
Helps to read from the debug output if an artifact inherits
static artifact or not
diff -r 8352243ace19 -r 1d690acf1fdb artifacts/src/main/java/org/dive4elements/river/artifacts/StaticD4EArtifact.java
--- 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 :
More information about the Dive4elements-commits
mailing list