private static class ProxyFactory.ProxyConstructor<T> extends java.lang.Object implements ConstructionProxy<T>
Modifier and Type | Field and Description |
---|---|
(package private) net.sf.cglib.proxy.Callback[] |
callbacks |
(package private) java.lang.reflect.Constructor<T> |
constructor |
(package private) int |
constructorIndex |
(package private) java.lang.Class<?> |
enhanced |
(package private) net.sf.cglib.reflect.FastClass |
fastClass |
(package private) InjectionPoint |
injectionPoint |
(package private) com.google.common.collect.ImmutableMap<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> |
methodInterceptors |
Constructor and Description |
---|
ProxyConstructor(net.sf.cglib.proxy.Enhancer enhancer,
InjectionPoint injectionPoint,
net.sf.cglib.proxy.Callback[] callbacks,
com.google.common.collect.ImmutableMap<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> methodInterceptors) |
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.
|
com.google.common.collect.ImmutableMap<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> |
getMethodInterceptors()
Returns the interceptors applied to each method, in order of invocation.
|
T |
newInstance(java.lang.Object... arguments)
Constructs an instance of
T for the given arguments. |
final java.lang.Class<?> enhanced
final InjectionPoint injectionPoint
final java.lang.reflect.Constructor<T> constructor
final net.sf.cglib.proxy.Callback[] callbacks
final int constructorIndex
final com.google.common.collect.ImmutableMap<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> methodInterceptors
final net.sf.cglib.reflect.FastClass fastClass
ProxyConstructor(net.sf.cglib.proxy.Enhancer enhancer, InjectionPoint injectionPoint, net.sf.cglib.proxy.Callback[] callbacks, com.google.common.collect.ImmutableMap<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> methodInterceptors)
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>
public com.google.common.collect.ImmutableMap<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors()
ConstructionProxy
getMethodInterceptors
in interface ConstructionProxy<T>