MentaContainer

Compare Revisions

Ignore whitespace Rev 41 → Rev 43

/trunk/src/main/java/org/mentacontainer/impl/MentaContainer.java
27,7 → 27,7
 
public <T> T get(String key) {
 
if (!beans.containsKey(key)) throw new RuntimeException("Container does not have this bean set: " + key);
if (!beans.containsKey(key)) return null;
 
Component c = beans.get(key);