final class ConstructorActionImpl<T> extends java.lang.Object implements ConstructorAction
Modifier and Type | Field and Description |
---|---|
private static java.lang.Class<?>[] |
ADDED_INTERFACES |
private ClazzCreator<T> |
clazzCreator |
private static javassist.util.proxy.MethodFilter |
METHOD_FILTER |
private java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> |
methodInterceptors |
Constructor and Description |
---|
ConstructorActionImpl(ClazzCreator<T> clazzCreator,
java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> methodInterceptors) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
makeMe(java.lang.reflect.Constructor<?> c,
java.lang.Object[] args,
boolean neutralCCL)
Creates the raw object
|
private static final java.lang.Class<?>[] ADDED_INTERFACES
private static final javassist.util.proxy.MethodFilter METHOD_FILTER
private final ClazzCreator<T> clazzCreator
private final java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> methodInterceptors
ConstructorActionImpl(ClazzCreator<T> clazzCreator, java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> methodInterceptors)
methodInterceptors
- clazzCreator
- TODOpublic java.lang.Object makeMe(java.lang.reflect.Constructor<?> c, java.lang.Object[] args, boolean neutralCCL) throws java.lang.Throwable
ConstructorAction
makeMe
in interface ConstructorAction
c
- The constructor to callargs
- The parameters to give to the argumentneutralCCL
- Whether or not the CCL should remain neutraljava.lang.Throwable