public class DefaultInterceptorRegistry extends Object implements InterceptorRegistry
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
ARGUMENT| Constructor and Description |
|---|
DefaultInterceptorRegistry(BeanContext beanContext) |
| 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.
|
public DefaultInterceptorRegistry(BeanContext beanContext)
@NonNull public <T> Interceptor<T,?>[] resolveInterceptors(@NonNull Executable<T,?> method, @NonNull Collection<BeanRegistration<Interceptor<T,?>>> interceptors, @NonNull InterceptorKind interceptorKind)
InterceptorRegistryresolveInterceptors in interface InterceptorRegistryT - the bean typemethod - The method interceptorsinterceptors - The pre-resolved interceptorsinterceptorKind - The interceptor kind@NonNull public <T> Interceptor<T,T>[] resolveConstructorInterceptors(@NonNull BeanConstructor<T> constructor, @NonNull Collection<BeanRegistration<Interceptor<T,T>>> interceptors)
InterceptorRegistryresolveConstructorInterceptors in interface InterceptorRegistryT - The bean typeconstructor - The constructorinterceptors - The pre-resolved interceptors