public class ConstructorInterceptorHandler extends Object
| Constructor and Description |
|---|
ConstructorInterceptorHandler() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
construct(Constructor<?> c,
Object[] args,
boolean neutralCCL,
List<ConstructorInterceptor> interceptors)
Call this to construct objects taking constructor interceptors into consideration
|
static Object |
construct(Constructor<?> c,
Object[] args,
boolean neutralCCL,
List<ConstructorInterceptor> interceptors,
ConstructorAction action)
Call this to construct objects taking constructor interceptors into consideration
|
public static Object construct(Constructor<?> c, Object[] args, boolean neutralCCL, List<ConstructorInterceptor> interceptors, ConstructorAction action) throws 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 objectThrowable - On errorpublic static Object construct(Constructor<?> c, Object[] args, boolean neutralCCL, List<ConstructorInterceptor> interceptors) throws 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)Throwable - On errorCopyright © 2009-2017 Oracle Corporation. All Rights Reserved.