comparison artifacts/src/main/java/de/intevation/artifacts/CallContext.java @ 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 def3daabc5b5
children 3168af23aec5
comparison
equal deleted inserted replaced
247:3a1209f214f5 248:eafe59ecfb7e
6 * or visit http://www.gnu.org/licenses/ if it does not exist. 6 * or visit http://www.gnu.org/licenses/ if it does not exist.
7 */ 7 */
8 8
9 package de.intevation.artifacts; 9 package de.intevation.artifacts;
10 10
11 import org.w3c.dom.Document;
12 import org.w3c.dom.Node;
13
11 /** 14 /**
12 * Instances of this interface are given to feed(), advance(), describe() 15 * Instances of this interface are given to feed(), advance(), describe()
13 * and out() to enable the artifact to communicate with the runtime system. 16 * and out() to enable the artifact to communicate with the runtime system.
14 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> 17 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
15 */ 18 */
16 public interface CallContext 19 public interface CallContext
17 { 20 {
18 interface Listener { 21 interface Listener {
22 void setup(Document config, Node listenerNode);
19 void init(CallContext callContext); 23 void init(CallContext callContext);
20 void close(CallContext callContext); 24 void close(CallContext callContext);
21 } 25 }
22 26
23 /** 27 /**

http://dive4elements.wald.intevation.org