| org.apache.bsf.engines.jython.JythonEngine
JythonEngine | public class JythonEngine extends BSFEngineImpl (Code) | | This is the interface to Jython (http://www.jython.org/) from BSF.
It's derived from the JPython 1.x engine
author: Sanjiva Weerawarana author: Finn Bock author: Chuck Murcko |
Field Summary | |
PythonInterpreter | interp |
Method Summary | |
public Object | call(Object object, String method, Object[] args) call the named method of the given object. | public void | declareBean(BSFDeclaredBean bean) | public Object | eval(String source, int lineNo, int columnNo, Object script) Evaluate an expression. | public void | exec(String source, int lineNo, int columnNo, Object script) Execute a script. | public void | initialize(BSFManager mgr, String lang, Vector declaredBeans) Initialize the engine. | public void | undeclareBean(BSFDeclaredBean bean) Undeclare a previously declared bean. | public Object | unwrap(PyObject result) |
interp | PythonInterpreter interp(Code) | | |
declareBean | public void declareBean(BSFDeclaredBean bean) throws BSFException(Code) | | Declare a bean
|
eval | public Object eval(String source, int lineNo, int columnNo, Object script) throws BSFException(Code) | | Evaluate an expression.
|
exec | public void exec(String source, int lineNo, int columnNo, Object script) throws BSFException(Code) | | Execute a script.
|
initialize | public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException(Code) | | Initialize the engine.
|
undeclareBean | public void undeclareBean(BSFDeclaredBean bean) throws BSFException(Code) | | Undeclare a previously declared bean.
|
|
|