com.jpattern.ioc.BeanMapper Maven / Gradle / Ivy
package com.jpattern.ioc;
import java.util.HashMap;
import java.util.Map;
public class BeanMapper {
private Map _beansMap ;
public BeanMapper() {
_beansMap = new HashMap();
}
public void put(String aKey, Object aBean) {
_beansMap.put(aKey, aBean);
}
public Object get(String aKey) {
return _beansMap.get(aKey);
}
public boolean contains(String aKey) {
return _beansMap.containsKey(aKey);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy