|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PyProxy
Common methods for all generated proxy classes. Proxy classes are created whenever a python class inherits from a java class. Instances of such a python class consists of two objects:
Method Summary | |
---|---|
void |
__initProxy__(Object[] args)
Initialize the proxy instance. |
PyObject |
_getPyInstance()
Return the associated PyObject. |
PySystemState |
_getPySystemState()
Return the associated system state. |
void |
_setPyInstance(PyObject proxy)
Associate a PyObject with this proxy instance. |
void |
_setPySystemState(PySystemState ss)
Associate an system state with this proxy instance. |
Method Detail |
---|
void _setPyInstance(PyObject proxy)
PyObject _getPyInstance()
void _setPySystemState(PySystemState ss)
PySystemState _getPySystemState()
void __initProxy__(Object[] args)
args
.
In some situations is it necessary to call the __initProxy__ method from the java superclass ctor before the ctor makes call to methods that is overridden in python.
In most situation the __initProxy__ is called automatically by the jython runtime.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |