# HG changeset patch # User Ingo Weinzierl # Date 1302786672 0 # Node ID 6d2c8915e22c4eb929071173105894e9e7eea9eb # Parent e91873b8b937a6469b1b1301d42692ebf6a45151 Finalized the SessionCallContextListener and registered it as CallContext.Listener in the configuration. flys-artifacts/trunk@1693 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r e91873b8b937 -r 6d2c8915e22c flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Thu Apr 14 12:59:21 2011 +0000 +++ b/flys-artifacts/ChangeLog Thu Apr 14 13:11:12 2011 +0000 @@ -1,3 +1,12 @@ +2011-04-14 Ingo Weinzierl + + * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: + Added the setup() method that has been added to the interface + description in the last commits. + + * doc/conf/conf.xml: Registered the SessionCallContextListener as + CallContext.Listener. + 2011-04-14 Ingo Weinzierl * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: diff -r e91873b8b937 -r 6d2c8915e22c flys-artifacts/doc/conf/conf.xml --- a/flys-artifacts/doc/conf/conf.xml Thu Apr 14 12:59:21 2011 +0000 +++ b/flys-artifacts/doc/conf/conf.xml Thu Apr 14 13:11:12 2011 +0000 @@ -32,6 +32,10 @@ + de.intevation.flys.artifacts.context.SessionCallContextListener + diff -r e91873b8b937 -r 6d2c8915e22c flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java Thu Apr 14 12:59:21 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java Thu Apr 14 13:11:12 2011 +0000 @@ -2,6 +2,9 @@ import org.apache.log4j.Logger; +import org.w3c.dom.Document; +import org.w3c.dom.Node; + import org.hibernate.Session; import de.intevation.artifacts.CallContext; @@ -29,6 +32,11 @@ } + public void setup(Document config, Node listenerConfig) { + // nothing to do here + } + + /** * Initializes a ThreadLocal variable that is used to hold sessions. *