public interface Injector
| Modifier and Type | Method and Description |
|---|---|
Object |
getInstance(Class<?> cls)
Constructs a new instance of the given class.
|
Object getInstance(Class<?> cls) throws InvocationTargetException, IllegalAccessException, InstantiationException
cls - classIllegalAccessException - thrown on injection faultInstantiationException - thrown on injection faultInvocationTargetException - thrown on injection faultCopyright © 2010-2014. All Rights Reserved.