public interface ComponentFactory
Modifier and Type | Method and Description |
---|---|
<T> T |
createObject(Class<T> type)
Create an object of the passed type using constructor dependency injection.
|
<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 dependencies<T> T createObject(Class<T> type)
T
- the type of the returned object.type
- the type of the object to create.Copyright © 2002-2015 Atlassian. All Rights Reserved.