Interface CustomContinuableProxy


  • public interface CustomContinuableProxy
    Generic interface for continuable dynamic proxy classes. Unlike standard Java Proxy or CGLib Proxy where it's possible to resolve proxy -> handler dependency via API, custom continuable proxies should provide implementation of this interface to get corresponding "handler" from the proxied object, in the same manner as Proxy.getInvocationHandler(Object).
    Author:
    vsilaev
    • Method Detail

      • getInvocationHandler

        Object getInvocationHandler​(String methodName,
                                    String methodDescription)
        Get a real continuable invocation handler for the proxy method descrived via methodName and methodDescription.
        Parameters:
        methodName - name of the continuable method that is proxied
        methodDescription - arguments/return type of the method in internal JVM format
        Returns:
        the continuable handler that processed invocation