MentaContainer

Compare Revisions

Ignore whitespace Rev 39 → Rev 40

/trunk/src/main/java/org/mentacontainer/impl/MentaContainer.java
146,7 → 146,7
return autowire(new MentaDependency(property, klass, source));
}
 
public Container populate(Object bean) throws Exception {
public Container populate(Object bean) {
Provider p = new Provider() {
161,8 → 161,15
}
};
try {
 
InjectionUtils.getObject(bean, p, false, null, true, false, true);
InjectionUtils.getObject(bean, p, false, null, true, false, true);
} catch(Exception e) {
throw new RuntimeException("Error populating bean: " + bean, e);
}
 
return this;
}