ingo@293: package de.intevation.artifacts; ingo@293: ingo@293: public interface GlobalContext { ingo@293: ingo@293: /** ingo@293: * Fetch a custom value from the global key/value map using ingo@293: * a given key. ingo@293: * @param key The key. ingo@293: * @return The stored value or null if no value was found under ingo@293: * this key. ingo@293: */ ingo@293: Object get(Object key); ingo@293: ingo@293: /** ingo@293: * Store a custom key/value pair in the global map. ingo@293: * @param key The key to store ingo@293: * @param value The value to store ingo@293: * @return The old value registered under the key or null ingo@293: * if none wa there before. ingo@293: */ ingo@293: Object put(Object key, Object value); ingo@293: } ingo@293: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :