Package org.apache.commons.javaflow.core
Interface CustomContinuableProxy
-
public interface CustomContinuableProxy
Generic interface for continuable dynamic proxy classes. Unlike standard JavaProxy
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 asProxy.getInvocationHandler(Object)
.- Author:
- vsilaev
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getInvocationHandler(String methodName, String methodDescription)
Get a real continuable invocation handler for the proxy method descrived viamethodName
andmethodDescription
.
-
-
-
Method Detail
-
getInvocationHandler
Object getInvocationHandler(String methodName, String methodDescription)
Get a real continuable invocation handler for the proxy method descrived viamethodName
andmethodDescription
.- Parameters:
methodName
- name of the continuable method that is proxiedmethodDescription
- arguments/return type of the method in internal JVM format- Returns:
- the continuable handler that processed invocation
-
-