io.avaje.inject.aop.AOPFallback Maven / Gradle / Ivy
package io.avaje.inject.aop;
import static java.lang.annotation.ElementType.METHOD;
import java.lang.annotation.*;
/** Marks a method as a recovery method for an AOP operation. */
@Target(METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AOPFallback {
/** the name of the target method to recover from. */
String value();
/** Distinguish what method to fallback when multiple methods share the same name. */
int place() default 0;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy