package web.notifier.helpers;

import java.util.HashMap;

/**
 *
 * @author Maciej "Gilek" Kłak
 */
public class Registry {
    private static HashMap<String,Object> map = new HashMap();
    
    public static Object get(String key) {
        return map.get(key);
    }
    
    public static void set(String key, Object value) {
        if (!map.containsKey(key))
            map.put(key,value);
    }
}
