com.arch.cdi.SessionInformation Maven / Gradle / Ivy
package com.arch.cdi;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
/**
* Created by wagner.araujo on 09/03/16.
*/
@SessionScoped
@Named
public class SessionInformation implements Serializable {
private Map map = new HashMap<>();
public void put(String key, Object value) {
map.put(key, value);
}
public Object get(String key) {
return map.get(key);
}
public void remove(String key) {
map.remove(key);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy