Package io.micronaut.retry.annotation
Annotation Interface Recoverable
@Documented
@Retention(RUNTIME)
@Target({METHOD,TYPE,ANNOTATION_TYPE})
@Around
@Type(RecoveryInterceptor.class)
public @interface Recoverable
AOP around advice that can be applied to any type or method that requires Fallback
handling.
When applied to a type if an exception occurs this advice will attempt to resolve an implementation of the
class that is annotated with Fallback
- Since:
- 1.0
- Author:
- graemerocher
-
Optional Element Summary