Mercurial > dive4elements > framework
changeset 245:def3daabc5b5
Added a listener to be called if a call context was created and closed
artifacts/trunk@1685 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 14 Apr 2011 10:19:12 +0000 |
parents | 3d14fe6e05f7 |
children | a8a06bbe306c |
files | ChangeLog artifacts/src/main/java/de/intevation/artifacts/CallContext.java |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <sascha.teichmann@intevation.de> + + * 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 <ingo@intevation.de> * 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 <sascha.teichmann@intevation.de> Fix for flys/issue9
--- 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.