# HG changeset patch # User Sascha L. Teichmann # Date 1302776352 0 # Node ID def3daabc5b537f3de2033528430e9e1b643b621 # Parent 3d14fe6e05f7b492a6b352707a79a913b4d413bd Added a listener to be called if a call context was created and closed artifacts/trunk@1685 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 3d14fe6e05f7 -r def3daabc5b5 ChangeLog --- a/ChangeLog Thu Apr 14 08:26:25 2011 +0000 +++ b/ChangeLog Thu Apr 14 10:19:12 2011 +0000 @@ -1,3 +1,8 @@ +2011-04-14 Sascha L. Teichmann + + * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: + Added a listener to be called if a call context was created and closed. + 2011-04-14 Ingo Weinzierl * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java, @@ -12,6 +17,7 @@ * artifact-database/src/main/resources/sql/org-h2-driver.properties: Forget last commit. + 2011-04-13 Sascha L. Teichmann Fix for flys/issue9 diff -r 3d14fe6e05f7 -r def3daabc5b5 artifacts/src/main/java/de/intevation/artifacts/CallContext.java --- a/artifacts/src/main/java/de/intevation/artifacts/CallContext.java Thu Apr 14 08:26:25 2011 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/CallContext.java Thu Apr 14 10:19:12 2011 +0000 @@ -15,6 +15,11 @@ */ public interface CallContext { + interface Listener { + void init(CallContext callContext); + void close(CallContext callContext); + } + /** * Constant to signal that nothing should be done * with the artifact after method return.