Interface InterceptionInvoker<T>

Type Parameters:
T - type of the result of the invocation
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 InterceptionInvoker<T>
Invocation of an element that has parameters, and may throw checked exceptions. This type is used to handle intercepted methods, constructors, and field injections.
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(Object... parameters)
    Invoke the element.
  • Method Details

    • invoke

      T invoke(Object... parameters) throws Exception
      Invoke the element.
      Parameters:
      parameters - to pass to the element
      Returns:
      result of the invocation
      Throws:
      Exception - any exception that may be required by the invoked element