Adapter
is advice applicable to a method that will create an entirely new bean definition that delegates to the
annotated method.AopProxyWriter
for the given parent BeanDefinitionWriter
and starting interceptors types.AopProxyWriter
for the purposes of writing Introduction
advise.AopProxyWriter
for the purposes of writing Introduction
advise.Around.proxyTarget()
on a Factory
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.Around.cacheableLazyTarget()
setting.ConstructorInterceptor
extends the default Interceptor
interface and allows intercepting constructors.InvocationContext
for constructor interception.InvocationContext
for construction invocation.InterceptorKind.PRE_DESTROY
interception.ExecutableMethod
reference.Around.hotswap()
setting.InterceptedProxy
that allows swapping out the previous instance.InterceptorKind.POST_CONSTRUCT
interception.ConstructorInterceptor.intercept(InvocationContext)
method that accepts a ConstructorInvocationContext
.Around
advice.MethodInterceptor.intercept(InvocationContext)
method that accepts a MethodInvocationContext
.InterceptedMethod
utils class.Intercepted
that proxies another instance.MethodInterceptor
declarations to specify
the InterceptorBinding
and make the type a bean.InterceptorBinding
is used as a meta-annotation on Around
and Introduction
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.InterceptorBinding
.Interceptor
chain.InterceptorRegistry
instance.Interceptor
classes implement the Ordered
interface
in order to control the order of execution when multiple interceptors are present.InvocationContext.proceed()
and converts result to appropriate type.InvocationContext.proceed(Interceptor)
and converts result to appropriate type.InvocationContext.proceed()
and converts result to CompletionStage
.InvocationContext.proceed(Interceptor)
and converts result to CompletionStage
.InvocationContext.proceed()
and converts result to Publisher
.InvocationContext.proceed()
and converts result to Publisher
.InvocationContext.proceed(Interceptor)
and converts result to Publisher
.Introduction
advise.MethodInterceptor
implementations.Interceptor
instances.InterceptedMethod
with extra methods to access coroutine's context.Around.lazy()
setting.Interceptor
and provides an interface more specific to method interception.Interceptor
chain.InvocationContext
for MethodInterceptor
instances.InterceptedMethod
implementation.Around.proxyTarget()
setting.Around
interceptors for a method.Introduction
interceptors for a method.Introduction
advise cannot be implemented.