public class PythonProxyHandler extends Object implements InvocationHandler
A PythonProxyHandler is used in place of a Python object. Python programs can send Python objects that implements a Java interface to the JVM: these Python objects are represented by dynamic proxies with a PythonProxyHandler.
Modifier and Type | Field and Description |
---|---|
static String |
CALL_PROXY_COMMAND_NAME |
static String |
GARBAGE_COLLECT_PROXY_COMMAND_NAME |
Constructor and Description |
---|
PythonProxyHandler(String id,
CallbackClient cbClient,
Gateway gateway) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public static final String CALL_PROXY_COMMAND_NAME
public static final String GARBAGE_COLLECT_PROXY_COMMAND_NAME
public PythonProxyHandler(String id, CallbackClient cbClient, Gateway gateway)