public interface Injector
Modifier and Type | Method and Description |
---|---|
<T> T |
newInstance(Class<T> type)
Instantiates a new instance of the given type possibly injecting values
into the object in the process
|
<T> T |
newInstance(Class<T> type,
Object instance)
Instantiates a new instance of the given object type possibly injecting values
into the object in the process
|
<T> T newInstance(Class<T> type)
type
- the type of object to createCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.