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.BSFEngine
apply
in class org.apache.bsf.util.BSFEngineImpl
public Object eval(String file, int line, int col, Object expr) throws org.apache.bsf.BSFException
org.apache.bsf.BSFException
public void exec(String file, int line, int col, Object expr) throws org.apache.bsf.BSFException
exec
in interface org.apache.bsf.BSFEngine
exec
in class org.apache.bsf.util.BSFEngineImpl
org.apache.bsf.BSFException
public Object call(Object recv, String method, Object[] args) throws org.apache.bsf.BSFException
org.apache.bsf.BSFException
public void initialize(org.apache.bsf.BSFManager manager, String language, Vector someDeclaredBeans) throws org.apache.bsf.BSFException
initialize
in interface org.apache.bsf.BSFEngine
initialize
in class org.apache.bsf.util.BSFEngineImpl
org.apache.bsf.BSFException
public void declareBean(org.apache.bsf.BSFDeclaredBean bean) throws org.apache.bsf.BSFException
declareBean
in interface org.apache.bsf.BSFEngine
declareBean
in class org.apache.bsf.util.BSFEngineImpl
org.apache.bsf.BSFException
public void undeclareBean(org.apache.bsf.BSFDeclaredBean bean) throws org.apache.bsf.BSFException
undeclareBean
in interface org.apache.bsf.BSFEngine
undeclareBean
in class org.apache.bsf.util.BSFEngineImpl
org.apache.bsf.BSFException
public void handleException(org.apache.bsf.BSFException bsfExcptn)
public void terminate()
terminate
in interface org.apache.bsf.BSFEngine
terminate
in class org.apache.bsf.util.BSFEngineImpl
BSFEngine.terminate()
Copyright © 2001-2016 JRuby. All Rights Reserved.