MentaContainer

Compare Revisions

Ignore whitespace Rev 38 → Rev 39

/trunk/src/main/java/org/mentacontainer/Container.java
52,11 → 52,12
/**
* Set up IoC based on the component passed.
*
* @param key The key representing the bean to return. The name of the bean in the container.
* @param component The component for the IoC.
* @return The component passed as a parameter. (Fluent API)
* @see Component
*/
public Component ioc(Component component);
public Component ioc(String key, Component component);
/**
* Configure a bean dependency to be auto-wired by the container. In general you want the