| java.lang.Object org.apache.bsf.util.BSFEngineImpl org.apache.bsf.engines.javaclass.JavaClassEngine
JavaClassEngine | public class JavaClassEngine extends BSFEngineImpl (Code) | | This is the interface to scripts consisting of Java objects from the
Bean Scripting Framework.
author: Sanjiva Weerawarana |
Method Summary | |
public Object | call(Object object, String method, Object[] args) call the named method of the given object. | public Object | eval(String source, int lineNo, int columnNo, Object oscript) This is used by an application to evaluate an object containing
some expression - clearly not possible for compiled code .. |
call | public Object call(Object object, String method, Object[] args) throws BSFException(Code) | | call the named method of the given object. If object is an instance
of Class, then the call is a static call on that object. If not, its
an instance method call or a static call (as per Java) on the given
object.
|
eval | public Object eval(String source, int lineNo, int columnNo, Object oscript) throws BSFException(Code) | | This is used by an application to evaluate an object containing
some expression - clearly not possible for compiled code ..
|
Methods inherited from org.apache.bsf.util.BSFEngineImpl | public Object apply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments) throws BSFException(Code)(Java Doc) public void compileApply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments, CodeBuffer cb) throws BSFException(Code)(Java Doc) public void compileExpr(String source, int lineNo, int columnNo, Object expr, CodeBuffer cb) throws BSFException(Code)(Java Doc) public void compileScript(String source, int lineNo, int columnNo, Object script, CodeBuffer cb) throws BSFException(Code)(Java Doc) public void declareBean(BSFDeclaredBean bean) throws BSFException(Code)(Java Doc) public void exec(String source, int lineNo, int columnNo, Object script) throws BSFException(Code)(Java Doc) public void iexec(String source, int lineNo, int columnNo, Object script) throws BSFException(Code)(Java Doc) public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException(Code)(Java Doc) public void propertyChange(PropertyChangeEvent e)(Code)(Java Doc) public void terminate()(Code)(Java Doc) public void undeclareBean(BSFDeclaredBean bean) throws BSFException(Code)(Java Doc)
|
|
|