Package io.micronaut.aop
The main classes implementing cross cutting behavior in Micronaut.
- Since:
- 1.0
-
Interface Summary Interface Description ConstructorInterceptor<T> AConstructorInterceptor
extends the defaultInterceptor
interface and allows intercepting constructors.ConstructorInvocationContext<T> AnInvocationContext
for construction invocation.HotSwappableInterceptedProxy<T> Extended version ofInterceptedProxy
that allows swapping out the previous instance.Intercepted An interface implemented by generated proxy classes.InterceptedMethod The intercept method supporting intercepting different reactive invocations.InterceptedProxy<T> AIntercepted
that proxies another instance.Interceptor<T,R> An Interceptor intercepts the execution of a method allowing cross cutting behaviour to be applied to a method's execution.InterceptorRegistry Strategy interface for looking up interceptors from the bean context.Introduced Marker interface for instances that are implemented automatically viaIntroduction
advise.InvocationContext<T,R> An InvocationContext passed to one or manyInterceptor
instances.MethodInterceptor<T,R> A MethodInterceptor extends the genericInterceptor
and provides an interface more specific to method interception.MethodInvocationContext<T,R> Extended version ofInvocationContext
forMethodInterceptor
instances. -
Class Summary Class Description Adapter.InternalAttributes Internal attributes for the adapter annotation. -
Enum Summary Enum Description Around.ProxyTargetConstructorMode When usingAround.proxyTarget()
on aFactory
method if the returned bean features constructor arguments this can lead to undefined behaviour since it is expected with factory methods that the developer is responsible for constructing the object.InterceptedMethod.ResultType Possible result types.InterceptorKind Enum representing different interceptors kinds.InterceptPhase Interceptor
classes implement theOrdered
interface in order to control the order of execution when multiple interceptors are present. -
Annotation Types Summary Annotation Type Description Adapter AnAdapter
is advice applicable to a method that will create an entirely new bean definition that delegates to the annotated method.Around Annotation stereotype to applied to other annotations to indicate the annotation provides Around advice.AroundConstruct Allows intercepting the bean constructor.InterceptorBean A meta-annotation that can be used onMethodInterceptor
declarations to specify theInterceptorBinding
and make the type a bean.InterceptorBinding AnInterceptorBinding
is used as a meta-annotation onAround
andIntroduction
advice to indicate that AOP advice should be applied to the method and that any annotations that feature this stereotype annotation should be used to resolve associated interceptors at runtime.InterceptorBindingDefinitions Repeatable wrapper forInterceptorBinding
.Introduction Introduction advice allows interfaces and abstract classes to be implemented at compile time byMethodInterceptor
implementations.