Interface MethodNavigator<A extends java.lang.annotation.Annotation>

Type Parameters:
A - The annotation that the methods must have in other to be accept by the navigator.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface MethodNavigator<A extends java.lang.annotation.Annotation>
Functional interface used by ClassRepository for navigating annotated methods in the inversion of control context.
Author:
Gilberto Vento
  • Method Summary

    Modifier and Type Method Description
    void accept​(java.lang.reflect.Method method, java.lang.Class component, A annotation)
    This method is call when ever a method in a component if found to have the given annotation.
  • Method Details

    • accept

      void accept​(java.lang.reflect.Method method, java.lang.Class component, A annotation)
      This method is call when ever a method in a component if found to have the given annotation.

      Parameters:
      method - The method been found.
      component - The class of the component that contains the found method.
      annotation - The instance of the annotation of the method.