Package com.google.inject.internal
Class DefaultConstructionProxyFactory.ReflectiveProxy<T>
java.lang.Object
com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy<T>
- All Implemented Interfaces:
ConstructionProxy<T>
- Enclosing class:
DefaultConstructionProxyFactory<T>
private static final class DefaultConstructionProxyFactory.ReflectiveProxy<T>
extends Object
implements ConstructionProxy<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Constructor<T> (package private) final InjectionPoint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the injected constructor.Returns the injection point for this constructor.Returns the interceptors applied to each method, in order of invocation.newInstance(Object... arguments) Constructs an instance ofTfor the given arguments.
-
Field Details
-
constructor
-
injectionPoint
-
-
Constructor Details
-
ReflectiveProxy
ReflectiveProxy(InjectionPoint injectionPoint, Constructor<T> constructor)
-
-
Method Details
-
newInstance
Description copied from interface:ConstructionProxyConstructs an instance ofTfor the given arguments.- Specified by:
newInstancein interfaceConstructionProxy<T>- Throws:
InvocationTargetException
-
getInjectionPoint
Description copied from interface:ConstructionProxyReturns the injection point for this constructor.- Specified by:
getInjectionPointin interfaceConstructionProxy<T>
-
getConstructor
Description copied from interface:ConstructionProxyReturns the injected constructor. If the injected constructor is synthetic (such as generated code for method interception), the natural constructor is returned.- Specified by:
getConstructorin interfaceConstructionProxy<T>
-
getMethodInterceptors
public com.google.common.collect.ImmutableMap<Method,List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors()Description copied from interface:ConstructionProxyReturns the interceptors applied to each method, in order of invocation.- Specified by:
getMethodInterceptorsin interfaceConstructionProxy<T>
-