public class JRubyEngine
extends org.apache.bsf.util.BSFEngineImpl
| Constructor and Description |
|---|
JRubyEngine() |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(String file,
int line,
int col,
Object funcBody,
Vector paramNames,
Vector args) |
Object |
call(Object recv,
String method,
Object[] args) |
void |
declareBean(org.apache.bsf.BSFDeclaredBean bean) |
Object |
eval(String file,
int line,
int col,
Object expr) |
void |
exec(String file,
int line,
int col,
Object expr) |
void |
handleException(org.apache.bsf.BSFException bsfExcptn) |
void |
initialize(org.apache.bsf.BSFManager manager,
String language,
Vector someDeclaredBeans) |
void |
terminate() |
void |
undeclareBean(org.apache.bsf.BSFDeclaredBean bean) |
public Object apply(String file, int line, int col, Object funcBody, Vector paramNames, Vector args)
apply in interface org.apache.bsf.BSFEngineapply in class org.apache.bsf.util.BSFEngineImplpublic Object eval(String file, int line, int col, Object expr) throws org.apache.bsf.BSFException
org.apache.bsf.BSFExceptionpublic void exec(String file, int line, int col, Object expr) throws org.apache.bsf.BSFException
exec in interface org.apache.bsf.BSFEngineexec in class org.apache.bsf.util.BSFEngineImplorg.apache.bsf.BSFExceptionpublic Object call(Object recv, String method, Object[] args) throws org.apache.bsf.BSFException
org.apache.bsf.BSFExceptionpublic void initialize(org.apache.bsf.BSFManager manager,
String language,
Vector someDeclaredBeans)
throws org.apache.bsf.BSFException
initialize in interface org.apache.bsf.BSFEngineinitialize in class org.apache.bsf.util.BSFEngineImplorg.apache.bsf.BSFExceptionpublic void declareBean(org.apache.bsf.BSFDeclaredBean bean)
throws org.apache.bsf.BSFException
declareBean in interface org.apache.bsf.BSFEnginedeclareBean in class org.apache.bsf.util.BSFEngineImplorg.apache.bsf.BSFExceptionpublic void undeclareBean(org.apache.bsf.BSFDeclaredBean bean)
throws org.apache.bsf.BSFException
undeclareBean in interface org.apache.bsf.BSFEngineundeclareBean in class org.apache.bsf.util.BSFEngineImplorg.apache.bsf.BSFExceptionpublic void handleException(org.apache.bsf.BSFException bsfExcptn)
public void terminate()
terminate in interface org.apache.bsf.BSFEngineterminate in class org.apache.bsf.util.BSFEngineImplBSFEngine.terminate()Copyright © 2001-2015 JRuby. All Rights Reserved.