view gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java @ 355:fce70ff3486b

Forget to check in pom.xml gnv-artifacts/trunk@428 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 15 Dec 2009 14:35:41 +0000
parents e7f1c79bf9cd
children 4939236c2dc9
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;
    }

    public Object getContextValue(Object key) {
        
        		return null;
    }

    public Object putContextValue(Object key, Object value) {
        
        		return null;
    }

}

http://dive4elements.wald.intevation.org