public interface ComponentFactory
Modifier and Type | Method and Description |
---|---|
<T> T |
createObject(Class<T> type,
Object... arguments)
Create an object of the passed type using constructor dependency injection.
|
<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 dependenciesCopyright © 2002-2021 Atlassian. All Rights Reserved.