Modifier and Type | Method and Description |
---|---|
InterceptorInvocation |
CustomInterceptorMetadata.getInterceptorInvocation(Object interceptorInstance,
InterceptionType interceptionType) |
boolean |
CustomInterceptorMetadata.isEligible(InterceptionType interceptionType) |
Constructor and Description |
---|
AbstractInterceptionChain(List<InterceptorClassMetadata<?>> interceptorMetadata,
InterceptionContext ctx,
InterceptionType interceptionType) |
AbstractInterceptionChain(Object instance,
Method method,
Object[] args,
InterceptionType interceptionType,
InterceptionContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected Object |
InterceptorMethodHandler.executeInterception(Object instance,
Method method,
Object[] args,
InterceptionType interceptionType) |
Constructor and Description |
---|
SimpleInterceptionChain(List<InterceptorClassMetadata<?>> interceptorMetadata,
InterceptionContext ctx,
InterceptionType interceptionType) |
SimpleInterceptionChain(Object instance,
Method method,
Object[] args,
InterceptionType interceptionType,
InterceptionContext ctx) |
Modifier and Type | Field and Description |
---|---|
protected Map<InterceptionType,List<Method>> |
AbstractInterceptorMetadata.interceptorMethodMap |
Modifier and Type | Method and Description |
---|---|
static Map<InterceptionType,List<Method>> |
InterceptorMetadataUtils.buildMethodMap(EnhancedAnnotatedType<?> type,
boolean forTargetClass,
BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
InterceptorInvocation |
AbstractInterceptorMetadata.getInterceptorInvocation(Object interceptorInstance,
InterceptionType interceptionType) |
List<Method> |
AbstractInterceptorMetadata.getInterceptorMethods(InterceptionType interceptionType) |
boolean |
AbstractInterceptorMetadata.isEligible(InterceptionType interceptionType) |
static boolean |
InterceptorMetadataUtils.isInterceptorMethod(InterceptionType interceptionType,
Method method,
boolean forTargetClass) |
Modifier and Type | Method and Description |
---|---|
static TargetClassInterceptorMetadata |
TargetClassInterceptorMetadata.of(Map<InterceptionType,List<Method>> interceptorMethodMap) |
Constructor and Description |
---|
AbstractInterceptorMetadata(Map<InterceptionType,List<Method>> interceptorMethodMap) |
InterceptorMetadataImpl(Class<T> javaClass,
InterceptorFactory<T> reference,
Map<InterceptionType,List<Method>> interceptorMethodMap) |
Modifier and Type | Method and Description |
---|---|
InterceptorInvocation |
InterceptorMetadata.getInterceptorInvocation(Object interceptorInstance,
InterceptionType interceptionType)
Creates a
InterceptorInvocation object representing invocation of interceptor methods of a given type on a given interceptor instance. |
boolean |
InterceptorMetadata.isEligible(InterceptionType interceptionType)
Indicates, whether the given interception type is supported.
|
Modifier and Type | Method and Description |
---|---|
static InterceptionType |
InterceptionType.valueOf(javax.enterprise.inject.spi.InterceptionType interceptionType) |
static InterceptionType |
InterceptionType.valueOf(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 |
---|---|
List<InterceptorClassMetadata<?>> |
InterceptionModel.getInterceptors(InterceptionType interceptionType,
Method method)
Returns the interceptors applicable for the given interception type and method.
|
Modifier and Type | Method and Description |
---|---|
static Collection<InterceptionType> |
InterceptionTypeRegistry.getSupportedInterceptionTypes() |
Modifier and Type | Method and Description |
---|---|
static Class<? extends Annotation> |
InterceptionTypeRegistry.getAnnotationClass(InterceptionType interceptionType) |
static boolean |
InterceptionTypeRegistry.isSupported(InterceptionType interceptionType) |
Modifier and Type | Method and Description |
---|---|
static <T> List<Method> |
BeanMethods.getInterceptorMethods(EnhancedAnnotatedType<T> type,
InterceptionType interceptionType,
boolean targetClass) |
Copyright © 2016. All rights reserved.