39,7 → 39,7 |
public Component ioc(String key, Class<? extends Object> klass, boolean singleton); |
|
/** |
* Same as {@link #ioc(String, Class, boolean)} except that it assumes |
* Same as {@link #ioc(String, Class<? extends Object>, singleton)} except that it assumes |
* singleton is false. |
* |
* @param key |
53,7 → 53,6 |
* |
* @param component The component for the IoC. |
* @return The component passed as a parameter. (Fluent API) |
* @see Component |
*/ |
public Component ioc(Component component); |
|
75,7 → 74,7 |
public Dependency autowire(String property, Class<? extends Object> klass, String source); |
|
/** |
* Same as {@link #autowire(String, Class, String)} except that it assumes that the property name will be the source name, in other words, |
* Same as {@link #autowire(String, Class<? extends Object>)} except that it assumes that the property name will be the source name, in other words, |
* the property name is the same as the bean name that will be injected as the dependency. |
* |
* @param property |
85,11 → 84,7 |
public Dependency autowire(String property, Class<? extends Object> klass); |
|
/** |
* Setup a dependency. |
* |
* @param dependency The dependency to setup |
* @return The dependency itself. (Fluent API) |
* @see Dependency |
*/ |
public Dependency autowire(Dependency dependency); |
|