Mercurial > dive4elements > framework
changeset 248:eafe59ecfb7e
Added a setup() method to the CallContext.Listener.
artifacts/trunk@1691 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 14 Apr 2011 13:02:46 +0000 |
parents | 3a1209f214f5 |
children | c47a640cfdae |
files | ChangeLog artifacts/src/main/java/de/intevation/artifacts/CallContext.java |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Apr 14 11:24:03 2011 +0000 +++ b/ChangeLog Thu Apr 14 13:02:46 2011 +0000 @@ -1,3 +1,8 @@ +2011-04-14 Ingo Weinzierl <ingo@intevation.de> + + * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: + Added a setup() method as in the other factories. + 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
--- a/artifacts/src/main/java/de/intevation/artifacts/CallContext.java Thu Apr 14 11:24:03 2011 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/CallContext.java Thu Apr 14 13:02:46 2011 +0000 @@ -8,6 +8,9 @@ package de.intevation.artifacts; +import org.w3c.dom.Document; +import org.w3c.dom.Node; + /** * Instances of this interface are given to feed(), advance(), describe() * and out() to enable the artifact to communicate with the runtime system. @@ -16,6 +19,7 @@ public interface CallContext { interface Listener { + void setup(Document config, Node listenerNode); void init(CallContext callContext); void close(CallContext callContext); }