java.lang.Object | |
↳ | com.pnfsoftware.jeb.client.script.JythonDynamicWrapper |
Dynamic wrapper around Jython methods used by the script loader to initialize a Python script.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JythonDynamicWrapper(File jythonJarFile) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Object |
PyObject_call(Object object)
PyObject.__call__()
| ||||||||||
Object |
PyObject_tojava(Object object, Class<?> c)
PyObject.__tojava__()
| ||||||||||
Object |
PySystemState_init()
PySystemState constructor
| ||||||||||
void |
PythonInterpreter_cleanup(Object interpreter)
PythonInterpreter.cleanup()
| ||||||||||
Object |
PythonInterpreter_compile(Object interpreter, String s)
PythonInterpreter.compile(String)
| ||||||||||
Object |
PythonInterpreter_eval(Object interpreter, String s)
PythonInterpreter.eval(String)
| ||||||||||
Object |
PythonInterpreter_eval(Object interpreter, Object pyobj)
PythonInterpreter.eval(PyObject)
| ||||||||||
void |
PythonInterpreter_exec(Object interpreter, String s)
PythonInterpreter.exec(String)
| ||||||||||
Object |
PythonInterpreter_get(Object interpreter, String name)
PythonInterpreter.get(String)@return
| ||||||||||
Object |
PythonInterpreter_init(Object dict, Object systemState)
PythonInterpreter constructor
| ||||||||||
void |
PythonInterpreter_initialize(Properties preProperties, Properties postProperties, String[] argv)
Static method PythonInterpreter.initialize()
| ||||||||||
void |
PythonInterpreter_set(Object interpreter, String name, Object value)
PythonInterpreter.set(String, Object)
| ||||||||||
void |
PythonInterpreter_setErr(Object interpreter, Writer errStream)
PythonInterpreter.setErr(Writer)
| ||||||||||
void |
PythonInterpreter_setIn(Object interpreter, Reader inStream)
PythonInterpreter.setIn(Reader)
| ||||||||||
void |
PythonInterpreter_setOut(Object interpreter, Writer outStream)
PythonInterpreter.setOut(Writer)
| ||||||||||
File | getJythonJarFile() | ||||||||||
Couple<Object, Object> | getPyExceptionTypeAndValue(Object pyex) | ||||||||||
boolean |
isPyException(Throwable e)
Determine if the provided exception is a Jython's
PyException . | ||||||||||
boolean | isPyNone(Object pyobj) | ||||||||||
boolean | isPyObject(Object pyobj) | ||||||||||
boolean | isPyString(Object pyobj) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
ReflectiveOperationException |
---|
PyObject.__call__()
ReflectiveOperationException |
---|
PyObject.__tojava__()
ReflectiveOperationException |
---|
PySystemState constructor
ReflectiveOperationException |
---|
PythonInterpreter.cleanup()
ReflectiveOperationException |
---|
PythonInterpreter.compile(String)
ReflectiveOperationException |
---|
PythonInterpreter.eval(String)
ReflectiveOperationException |
---|
PythonInterpreter.eval(PyObject)
ReflectiveOperationException |
---|
PythonInterpreter.exec(String)
ReflectiveOperationException |
---|
PythonInterpreter.get(String)@return
ReflectiveOperationException |
---|
PythonInterpreter constructor
ReflectiveOperationException |
---|
Static method PythonInterpreter.initialize()
ReflectiveOperationException |
---|
PythonInterpreter.set(String, Object)
ReflectiveOperationException |
---|
PythonInterpreter.setErr(Writer)
ReflectiveOperationException |
---|
PythonInterpreter.setIn(Reader)
ReflectiveOperationException |
---|
PythonInterpreter.setOut(Writer)
ReflectiveOperationException |
---|
pyex | a PyException object |
---|
ReflectiveOperationException |
---|
Determine if the provided exception is a Jython's PyException
.
e | an exception |
---|