001
002package io.vrap.rmf.base.client;
003
004import java.util.Map;
005
006public interface ContextAware<U> {
007    public Map<Object, Object> getContextMap();
008
009    public U withContextMap(final Map<Object, Object> contextMap);
010
011    public <T> U addContext(T value);
012
013    public Object getContext(Object key);
014
015    public <T> T getContext(Class<T> key);
016
017    public U addContext(Object key, Object value);
018}