All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arch.cdi.ApplicationInformation Maven / Gradle / Ivy

There is a newer version: 18.12.0
Show newest version
package com.arch.cdi;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.enterprise.context.ApplicationScoped;

/**
 * Created by wagner.araujo on 09/03/16.
 */
@ApplicationScoped
public class ApplicationInformation implements Serializable {

    private Map map = new HashMap<>();

    public void put(String key, Serializable value) {
        map.put(key, value);
    }

    public Object get(String key) {
        return map.get(key);
    }

    public void remove(String key) {
        map.remove(key);
    }

    public Set getKeys() {
        return map.keySet();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy