io.avaje.inject.aop.AspectProvider-e Maven / Gradle / Ivy
package io.avaje.inject.aop;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
/**
* Provides the {@code MethodInterceptor} for the given aspect.
*
* @param The aspect annotation
*/
@FunctionalInterface
public interface AspectProvider {
/**
* Return the method interceptor to use for the given method and aspect annotation.
*/
MethodInterceptor interceptor(Method method, T aspectAnnotation);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy