Package io.micronaut.aop
package io.micronaut.aop
The main classes implementing cross-cutting behavior in Micronaut.
- Since:
- 1.0
- Author:
- graemerocher
-
ClassDescriptionAn
Adapteris advice applicable to a method that will create an entirely new bean definition that delegates to the annotated method.Internal attributes for the adapter annotation.Annotation stereotype to applied to other annotations to indicate the annotation provides Around advice.When usingAround.proxyTarget()on aFactorymethod 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.Allows intercepting the bean constructor.AConstructorInterceptorextends the defaultInterceptorinterface and allows intercepting constructors.AnInvocationContextfor construction invocation.Extended version ofInterceptedProxythat allows swapping out the previous instance.An interface implemented by generated proxy classes.The intercept method supporting intercepting different reactive invocations.Possible result types.AInterceptedthat 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.A meta-annotation that can be used onMethodInterceptordeclarations to specify theInterceptorBindingand make the type a bean.AnInterceptorBindingis used as a meta-annotation onAroundandIntroductionadvice 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.Repeatable wrapper forInterceptorBinding.Enum representing different interceptors kinds.Strategy interface for looking up interceptors from the bean context.Interceptorclasses implement theOrderedinterface in order to control the order of execution when multiple interceptors are present.Marker interface for instances that are implemented automatically viaIntroductionadvise.Introduction advice allows interfaces and abstract classes to be implemented at compile time byMethodInterceptorimplementations.InvocationContext<T,R> An InvocationContext passed to one or manyInterceptorinstances.MethodInterceptor<T,R> A MethodInterceptor extends the genericInterceptorand provides an interface more specific to method interception.Extended version ofInvocationContextforMethodInterceptorinstances.