private static final class DefaultConstructionProxyFactory.ReflectiveProxy<T> extends java.lang.Object implements ConstructionProxy<T>
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.reflect.Constructor<T> |
constructor |
(package private) InjectionPoint |
injectionPoint |
Constructor and Description |
---|
ReflectiveProxy(InjectionPoint injectionPoint,
java.lang.reflect.Constructor<T> constructor) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Constructor<T> |
getConstructor()
Returns the injected constructor.
|
InjectionPoint |
getInjectionPoint()
Returns the injection point for this constructor.
|
T |
newInstance(java.lang.Object... arguments)
Constructs an instance of
T for the given arguments. |
final java.lang.reflect.Constructor<T> constructor
final InjectionPoint injectionPoint
ReflectiveProxy(InjectionPoint injectionPoint, java.lang.reflect.Constructor<T> constructor)
public T newInstance(java.lang.Object... arguments) throws java.lang.reflect.InvocationTargetException
ConstructionProxy
T
for the given arguments.newInstance
in interface ConstructionProxy<T>
java.lang.reflect.InvocationTargetException
public InjectionPoint getInjectionPoint()
ConstructionProxy
getInjectionPoint
in interface ConstructionProxy<T>
public java.lang.reflect.Constructor<T> getConstructor()
ConstructionProxy
getConstructor
in interface ConstructionProxy<T>