All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.avaje.inject.aop.AspectProvider-e Maven / Gradle / Ivy

There is a newer version: 10.6-javax
Show newest version
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