public class CandiUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Object[] |
NULL_OBJECT_ARRAY |
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.Method[] |
createDecoratorMethods(java.util.List<Decorator<?>> decorators,
java.lang.String methodName,
java.lang.Class<?>... paramTypes) |
static void |
createInterceptors(InjectManager manager,
java.util.ArrayList<Interceptor<?>> beans,
java.lang.annotation.Annotation... bindings) |
static void |
createInterceptors(InjectManager manager,
java.util.ArrayList<Interceptor<?>> beans,
InterceptionType type,
java.lang.annotation.Annotation... bindings) |
static int[] |
createInterceptors(InjectManager manager,
java.util.ArrayList<InterceptorRuntimeBean<?>> staticBeans,
java.util.ArrayList<Interceptor<?>> beans,
int[] staticIndexList,
InterceptionType type,
java.lang.annotation.Annotation... bindings) |
static Interceptor<?>[] |
createMethods(java.util.ArrayList<Interceptor<?>> beans,
InterceptionType type,
int[] indexChain) |
static void |
dummyPostConstruct() |
static void |
dummyPreDestroy() |
static java.lang.reflect.Method |
findAccessibleMethod(java.lang.Class<?> cl,
java.lang.String methodName,
java.lang.Class<?>... paramTypes) |
static java.lang.reflect.Method |
findMethod(java.lang.Class<?> cl,
java.lang.String methodName,
java.lang.Class<?>... paramTypes) |
static java.lang.Object[] |
generateProxyDelegate(InjectManager manager,
java.util.List<Decorator<?>> beans,
java.lang.Object delegateProxy,
CreationalContextImpl<?> parentEnv) |
static java.lang.reflect.Method |
getDummyPostConstruct() |
static java.lang.reflect.Method |
getDummyPreDestroy() |
static java.lang.reflect.Method |
getMethod(java.lang.Class<?> cl,
java.lang.String methodName,
java.lang.Class<?>... paramTypes) |
static java.lang.Class<?> |
getRawClass(java.lang.reflect.Type type) |
static java.lang.Object |
invoke(java.lang.reflect.Method method,
java.lang.Object bean,
java.lang.Object... args) |
static int |
nextDelegate(java.lang.Object[] beans,
java.lang.Class<?>[] apis,
int index) |
static int |
nextDelegate(java.lang.Object[] beans,
java.lang.reflect.Method[] methods,
int index) |
static void |
validatePassivating(java.lang.Class<?> cl,
java.util.ArrayList<Interceptor<?>> beans) |
static void |
validatePassivating(java.lang.Class<?> cl,
Bean<?> bean,
java.lang.String typeName) |
static void |
validatePassivatingDecorators(java.lang.Class<?> cl,
java.util.List<Decorator<?>> beans) |
public static java.lang.Object invoke(java.lang.reflect.Method method, java.lang.Object bean, java.lang.Object... args)
public static int[] createInterceptors(InjectManager manager, java.util.ArrayList<InterceptorRuntimeBean<?>> staticBeans, java.util.ArrayList<Interceptor<?>> beans, int[] staticIndexList, InterceptionType type, java.lang.annotation.Annotation... bindings)
public static void createInterceptors(InjectManager manager, java.util.ArrayList<Interceptor<?>> beans, java.lang.annotation.Annotation... bindings)
public static void createInterceptors(InjectManager manager, java.util.ArrayList<Interceptor<?>> beans, InterceptionType type, java.lang.annotation.Annotation... bindings)
public static void validatePassivating(java.lang.Class<?> cl, java.util.ArrayList<Interceptor<?>> beans)
public static void validatePassivatingDecorators(java.lang.Class<?> cl, java.util.List<Decorator<?>> beans)
public static void validatePassivating(java.lang.Class<?> cl, Bean<?> bean, java.lang.String typeName)
public static java.lang.Class<?> getRawClass(java.lang.reflect.Type type)
public static Interceptor<?>[] createMethods(java.util.ArrayList<Interceptor<?>> beans, InterceptionType type, int[] indexChain)
public static java.lang.reflect.Method[] createDecoratorMethods(java.util.List<Decorator<?>> decorators, java.lang.String methodName, java.lang.Class<?>... paramTypes)
public static java.lang.reflect.Method getMethod(java.lang.Class<?> cl, java.lang.String methodName, java.lang.Class<?>... paramTypes) throws java.lang.Exception
java.lang.Exception
public static java.lang.reflect.Method findMethod(java.lang.Class<?> cl, java.lang.String methodName, java.lang.Class<?>... paramTypes)
public static java.lang.reflect.Method findAccessibleMethod(java.lang.Class<?> cl, java.lang.String methodName, java.lang.Class<?>... paramTypes)
public static java.lang.Object[] generateProxyDelegate(InjectManager manager, java.util.List<Decorator<?>> beans, java.lang.Object delegateProxy, CreationalContextImpl<?> parentEnv)
public static int nextDelegate(java.lang.Object[] beans, java.lang.reflect.Method[] methods, int index)
public static int nextDelegate(java.lang.Object[] beans, java.lang.Class<?>[] apis, int index)
public static java.lang.reflect.Method getDummyPostConstruct()
public static void dummyPostConstruct()
public static java.lang.reflect.Method getDummyPreDestroy()
public static void dummyPreDestroy()