org.apache.bsf.engines.jpython
Class JPythonEngine
- BSFEngine, PropertyChangeListener
public class JPythonEngine
This is the interface to JPython (http://www.jpython.org/) from BSF.
- Sanjiva Weerawarana
- Finn Bock
Object | call(Object object, String method, Object[] args) - call the named method of the given object.
|
void | declareBean(BSFDeclaredBean bean) - Declare a bean
|
Object | eval(String source, int lineNo, int columnNo, Object script) - Evaluate an expression.
|
void | exec(String source, int lineNo, int columnNo, Object script) - Execute a script.
|
void | initialize(BSFManager mgr, String lang, Vector declaredBeans) - Initialize the engine.
|
void | undeclareBean(BSFDeclaredBean bean) - Undeclare a previously declared bean.
|
Object | unwrap(PyObject result)
|
apply , compileApply , compileExpr , compileScript , declareBean , disconnectedDebuggerNotify , exec , getSpecificDebuggingInterface , initialize , placeBreakpointAtLine , placeBreakpointAtOffset , propertyChange , removeBreakpoint , setEntryExit , terminate , undeclareBean |
call
public Object call(Object object,
String method,
Object[] args)
throws BSFException
call the named method of the given object.
- call in interface BSFEngine
eval
public Object eval(String source,
int lineNo,
int columnNo,
Object script)
throws BSFException
Evaluate an expression.
- eval in interface BSFEngine
unwrap
public Object unwrap(PyObject result)