public interface InterceptorRegistry
| Modifier and Type | Field and Description |
|---|---|
static Argument<InterceptorRegistry> |
ARGUMENT
Constant for bean lookup.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Interceptor<T,T>[] |
resolveConstructorInterceptors(BeanConstructor<T> constructor,
Collection<BeanRegistration<Interceptor<T,T>>> interceptors)
Resolves interceptors for the given constructor.
|
<T> Interceptor<T,?>[] |
resolveInterceptors(Executable<T,?> method,
Collection<BeanRegistration<Interceptor<T,?>>> interceptors,
InterceptorKind interceptorKind)
Resolves method interceptors for the given method.
|
static final Argument<InterceptorRegistry> ARGUMENT
@NonNull <T> Interceptor<T,?>[] resolveInterceptors(@NonNull Executable<T,?> method, @NonNull Collection<BeanRegistration<Interceptor<T,?>>> interceptors, @NonNull InterceptorKind interceptorKind)
T - the bean typemethod - The method interceptorsinterceptors - The pre-resolved interceptorsinterceptorKind - The interceptor kind@NonNull <T> Interceptor<T,T>[] resolveConstructorInterceptors(@NonNull BeanConstructor<T> constructor, @NonNull Collection<BeanRegistration<Interceptor<T,T>>> interceptors)
T - The bean typeconstructor - The constructorinterceptors - The pre-resolved interceptors