Package | Description |
---|---|
com.caucho.config.gen | |
com.caucho.config.inject | |
javax.enterprise.inject.spi |
Java Dependency Injection programmatic APIs.
|
Modifier and Type | Method and Description |
---|---|
static void |
CandiUtil.createInterceptors(InjectManager manager,
java.util.ArrayList<Interceptor<?>> beans,
InterceptionType type,
java.lang.annotation.Annotation... bindings) |
static int[] |
CandiUtil.createInterceptors(InjectManager manager,
java.util.ArrayList<InterceptorRuntimeBean<?>> staticBeans,
java.util.ArrayList<Interceptor<?>> beans,
int[] staticIndexList,
InterceptionType type,
java.lang.annotation.Annotation... bindings) |
static Interceptor<?>[] |
CandiUtil.createMethods(java.util.ArrayList<Interceptor<?>> beans,
InterceptionType type,
int[] indexChain) |
Constructor and Description |
---|
CandiInvocationContext(InterceptionType type,
java.lang.Object target,
java.lang.reflect.Method apiMethod,
java.lang.reflect.Method implMethod,
Interceptor<?>[] chainMethods,
java.lang.Object[] chainObjects,
int[] chainIndex,
java.lang.Object[] param) |
InterceptorGenerator(InterceptorFactory<X> factory,
AnnotatedMethod<? super X> method,
AspectGenerator<X> next,
InterceptionType type,
java.util.HashSet<java.lang.Class<?>> methodInterceptors,
java.util.HashMap<java.lang.Class<?>,java.lang.annotation.Annotation> methodInterceptorMap,
java.util.HashSet<java.lang.Class<?>> decoratorSet,
boolean isExcludeClassInterceptors) |
InterceptorGenerator(InterceptorFactory<X> factory,
java.util.HashSet<java.lang.Class<?>> lifecycleInterceptors,
InterceptionType type) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Method |
InterceptorRuntimeBean.getMethod(InterceptionType type)
Returns the bean's deployment type
|
java.lang.Object |
InterceptorRuntimeBean.intercept(InterceptionType type,
X instance,
InvocationContext ctx)
Invokes the callback
|
boolean |
InterceptorRuntimeBean.intercepts(InterceptionType type)
Returns the bean's deployment type
|
boolean |
InterceptorRuntimeBean.isAllowParent(InterceptionType type) |
java.util.List<Interceptor<?>> |
InjectManager.resolveInterceptors(InterceptionType type,
java.lang.annotation.Annotation... qualifiers)
Resolves the interceptors for a given interceptor type
|
Modifier and Type | Method and Description |
---|---|
static InterceptionType |
InterceptionType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InterceptionType[] |
InterceptionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Interceptor.intercept(InterceptionType type,
T instance,
InvocationContext ctx)
Invokes the callback
|
boolean |
Interceptor.intercepts(InterceptionType type)
Returns true if the interceptor intercepts the given type.
|
java.util.List<Interceptor<?>> |
BeanManager.resolveInterceptors(InterceptionType type,
java.lang.annotation.Annotation... bindings)
Resolves the interceptors for a given interceptor type
|