Interface ProxyHandler<T>


  • public interface ProxyHandler<T>

    A method invocation handler for proxy invocations.

    Since:
    1.0
    Author:
    Brennan Spies
    • Method Detail

      • handle

        Object handle​(ProxyInvocation<T> invocation)
               throws Throwable
        Handles the method invocation on the proxy.
        Parameters:
        invocation - The invocation on the proxy
        Returns:
        The return value of the invocation
        Throws:
        Throwable - If an error is thrown from the invocation