Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java @ 127:f6f0e4ce4a35
merged gnv-artifacts/0.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:41 +0200 |
parents | ef157bd2fa92 |
children | 7fb9441dd8af |
line wrap: on
line source
/** * */ package de.intevation.gnv.artifacts; import de.intevation.artifacts.CallContext; import de.intevation.artifacts.CallMeta; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class TestCallContext implements CallContext { private Object globalContext = null; private CallMeta callMeta = null; /** * Constructor */ public TestCallContext(Object globalContext, CallMeta callMeta) { this.globalContext = globalContext; this.callMeta = callMeta; } /** * @see de.intevation.artifacts.CallContext#afterBackground(int) */ public void afterBackground(int action) { } /** * @see de.intevation.artifacts.CallContext#afterCall(int) */ public void afterCall(int action) { } /** * @see de.intevation.artifacts.CallContext#globalContext() */ public Object globalContext() { return this.globalContext; } public CallMeta getMeta() { return this.callMeta; } }