public interface InterceptorRegistry
| Modifier and Type | Field and Description |
|---|---|
static io.micronaut.core.type.Argument<InterceptorRegistry> |
ARGUMENT
Constant for bean lookup.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Interceptor<T,T>[] |
resolveConstructorInterceptors(io.micronaut.core.beans.BeanConstructor<T> constructor,
java.util.Collection<io.micronaut.context.BeanRegistration<Interceptor<T,T>>> interceptors)
Resolves interceptors for the given constructor.
|
<T> Interceptor<T,?>[] |
resolveInterceptors(io.micronaut.core.type.Executable<T,?> method,
java.util.Collection<io.micronaut.context.BeanRegistration<Interceptor<T,?>>> interceptors,
InterceptorKind interceptorKind)
Resolves method interceptors for the given method.
|
static final io.micronaut.core.type.Argument<InterceptorRegistry> ARGUMENT
@NonNull <T> Interceptor<T,?>[] resolveInterceptors(@NonNull io.micronaut.core.type.Executable<T,?> method, @NonNull java.util.Collection<io.micronaut.context.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 io.micronaut.core.beans.BeanConstructor<T> constructor, @NonNull java.util.Collection<io.micronaut.context.BeanRegistration<Interceptor<T,T>>> interceptors)
T - The bean typeconstructor - The constructorinterceptors - The pre-resolved interceptors