MentaContainer

Compare Revisions

Ignore whitespace Rev 3 → Rev 4

/trunk/src/main/java/org/mentacontainer/Container.java
105,5 → 105,13
* @param bean The bean to be populated with other beans from the container.
* @return The container itself. (Fluent API)
*/
public Container populate(Object bean);
public Container populate(Object bean) throws Exception;
/**
* Check whether the container is configured to provide a bean with name 'key'.
*
* @param key The key representing the bean inside the container.
* @return true if the container contains this bean.
*/
public boolean contains(String key);
}