Module io.avaje.inject.aop
Package io.avaje.inject.aop
package io.avaje.inject.aop
Support for Aspect Oriented Programming.
Aspects allow us to define method interceptors and then apply to specific methods or all public methods of a class.
An example of an Aspect might be @Retry which will invoke the underlying method and then retry if that invocation fails.
-
ClassDescriptionMarks a method as a recovery method for an AOP operation.Meta annotation used to define an Aspect.Marks an External Annotation as being used for aspectsAspectProvider<T extends Annotation>Provides the
MethodInterceptorfor the given aspect.Method invocation used ininvoke(Invocation)for Aspects.Invocation base type for both callable and runnable methods.Callable based Invocation with checked exceptions.Runnable with checked exceptions.Callable with checked exceptions.Runnable based Invocation.Represents an exception occurring during method interception.Provides method interception logic that can be executed before, during, and after a method invocation.