|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentFactory
A factory that allows objects to be created through constructor dependency injection at runtime.
Method Summary | ||
---|---|---|
|
createObject(Class<T> type)
Create an object of the passed type using constructor dependency injection. |
|
|
createObject(Class<T> type,
Object... arguments)
Create an object of the passed type using constructor dependency injection. |
Method Detail |
---|
<T> T createObject(Class<T> type, Object... arguments)
T
- the type of the returned object.type
- the type of the object to create.arguments
- additional objects that can be used to resolve dependencies
<T> T createObject(Class<T> type)
T
- the type of the returned object.type
- the type of the object to create.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |