Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java @ 262:8b634333f935
merged gnv-artifacts/0.2
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:44 +0200 |
parents | 7fb9441dd8af |
children | e7f1c79bf9cd |
comparison
equal
deleted
inserted
replaced
169:6cf73f5ea4a9 | 262:8b634333f935 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.artifacts; | |
5 | |
6 import de.intevation.artifacts.CallContext; | |
7 import de.intevation.artifacts.CallMeta; | |
8 | |
9 /** | |
10 * @author Tim Englich <tim.englich@intevation.de> | |
11 * | |
12 */ | |
13 public class TestCallContext implements CallContext { | |
14 | |
15 private Object globalContext = null; | |
16 private CallMeta callMeta = null; | |
17 | |
18 /** | |
19 * Constructor | |
20 */ | |
21 public TestCallContext(Object globalContext, CallMeta callMeta) { | |
22 this.globalContext = globalContext; | |
23 this.callMeta = callMeta; | |
24 } | |
25 | |
26 /** | |
27 * @see de.intevation.artifacts.CallContext#afterBackground(int) | |
28 */ | |
29 public void afterBackground(int action) { | |
30 } | |
31 | |
32 /** | |
33 * @see de.intevation.artifacts.CallContext#afterCall(int) | |
34 */ | |
35 public void afterCall(int action) { | |
36 } | |
37 | |
38 /** | |
39 * @see de.intevation.artifacts.CallContext#globalContext() | |
40 */ | |
41 public Object globalContext() { | |
42 return this.globalContext; | |
43 } | |
44 | |
45 public CallMeta getMeta() { | |
46 return this.callMeta; | |
47 } | |
48 | |
49 } |