diff artifacts/src/main/java/de/intevation/artifacts/CallContext.java @ 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 933bbc9fc11f
children eafe59ecfb7e
line wrap: on
line diff
--- 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.

http://dive4elements.wald.intevation.org