public class ConstructorInterceptorHandler
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
ConstructorInterceptorHandler.ConstructorInvocationImpl |
| Modifier and Type | Field and Description |
|---|---|
private static ConstructorAction |
DEFAULT_ACTION |
| Constructor and Description |
|---|
ConstructorInterceptorHandler() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
construct(java.lang.reflect.Constructor<?> c,
java.lang.Object[] args,
boolean neutralCCL,
java.util.List<org.aopalliance.intercept.ConstructorInterceptor> interceptors)
Call this to construct objects taking constructor interceptors into consideration
|
static java.lang.Object |
construct(java.lang.reflect.Constructor<?> c,
java.lang.Object[] args,
boolean neutralCCL,
java.util.List<org.aopalliance.intercept.ConstructorInterceptor> interceptors,
ConstructorAction action)
Call this to construct objects taking constructor interceptors into consideration
|
private static final ConstructorAction DEFAULT_ACTION
public static java.lang.Object construct(java.lang.reflect.Constructor<?> c,
java.lang.Object[] args,
boolean neutralCCL,
java.util.List<org.aopalliance.intercept.ConstructorInterceptor> interceptors,
ConstructorAction action)
throws java.lang.Throwable
c - The constructor to invokeargs - The arguments to give to the constructor (intially)neutralCCL - Whether or not CCL should be neutral around calls to the constructorinterceptors - The set of interceptors (may be null or empty)action - The action to perform to construct the objectjava.lang.Throwable - On errorpublic static java.lang.Object construct(java.lang.reflect.Constructor<?> c,
java.lang.Object[] args,
boolean neutralCCL,
java.util.List<org.aopalliance.intercept.ConstructorInterceptor> interceptors)
throws java.lang.Throwable
c - The constructor to invokeargs - The arguments to give to the constructor (intially)neutralCCL - Whether or not CCL should be neutral around calls to the constructorinterceptors - The set of interceptors (may be null or empty)java.lang.Throwable - On error