Interface MockInterceptor.InterceptionCallback

  • Enclosing class:
    MockInterceptor
    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 static interface MockInterceptor.InterceptionCallback
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Object invoke​(jakarta.interceptor.InvocationContext invocationContext, jakarta.enterprise.inject.spi.Bean<?> interceptedBean)  
    • Method Detail

      • invoke

        Object invoke​(jakarta.interceptor.InvocationContext invocationContext,
                      jakarta.enterprise.inject.spi.Bean<?> interceptedBean)
               throws Exception
        Parameters:
        invocationContext -
        interceptedBean - May be null
        Returns:
        the result
        Throws:
        Exception