Uses of Class org.apache.bsf.BSFException (Bean Scripting Framework API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.bsf.BSFException

Packages that use BSFException
org.apache.bsf |
org.apache.bsf.engines.jacl |
org.apache.bsf.engines.javascript |
org.apache.bsf.engines.jython |
org.apache.bsf.engines.netrexx |
org.apache.bsf.engines.xslt |
org.apache.bsf.util |

Uses of BSFException in org.apache.bsf

Methods in org.apache.bsf that throw BSFException
`java.lang.Object` | `BSFEngine.apply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments)` This is used by an application to invoke an anonymous function.
`java.lang.Object` | `BSFEngine.call(java.lang.Object object, java.lang.String name, java.lang.Object[] args)` This is used by an application to call into the scripting engine to make a function/method call.
`void` | `BSFEngine.compileApply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments, CodeBuffer cb)` This is used by an application to compile an anonymous function.
`void` | `BSFEngine.compileExpr(java.lang.String source, int lineNo, int columnNo, java.lang.Object expr, CodeBuffer cb)` This is used by an application to compile a value-returning expression.
`void` | `BSFEngine.compileScript(java.lang.String source, int lineNo, int columnNo, java.lang.Object script, CodeBuffer cb)` This is used by an application to compile some script.
`void` | `BSFEngine.declareBean(BSFDeclaredBean bean)` Declare a bean after the engine has been started.
`java.lang.Object` | `BSFEngine.eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object expr)` This is used by an application to evaluate an expression.
`void` | `BSFEngine.exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` This is used by an application to execute some script.
`void` | `BSFEngine.iexec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` This is used by an application to execute some script, as though one were interacting with the language in an interactive session.
`void` | `BSFEngine.initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` This method is used to initialize the engine right after construction.
`void` | `BSFEngine.undeclareBean(BSFDeclaredBean bean)` Undeclare a previously declared bean.
`java.lang.Object` | `BSFManager.apply(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments)` Apply the given anonymous function of the given language to the given parameters and return the resulting value.
`void` | `BSFManager.compileApply(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments, CodeBuffer cb)` Compile the application of the given anonymous function of the given language to the given parameters into the given `CodeBuffer`.
`void` | `BSFManager.compileExpr(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object expr, CodeBuffer cb)` Compile the given expression of the given language into the given `CodeBuffer`.
`void` | `BSFManager.compileScript(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object script, CodeBuffer cb)` Compile the given script of the given language into the given `CodeBuffer`.
`void` | `BSFManager.declareBean(java.lang.String beanName, java.lang.Object bean, java.lang.Class type)` Declare a bean.
`java.lang.Object` | `BSFManager.eval(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object expr)` Evaluate the given expression of the given language and return the resulting value.
`void` | `BSFManager.exec(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Execute the given script of the given language.
`void` | `BSFManager.iexec(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Execute the given script of the given language, attempting to emulate an interactive session w/ the language.
`static java.lang.String` | `BSFManager.getLangFromFilename(java.lang.String fileName)` Determine the language of a script file by looking at the file extension.
`BSFEngine` | `BSFManager.loadScriptingEngine(java.lang.String lang)` Load a scripting engine based on the lang string identifying it.
`void` | `BSFManager.undeclareBean(java.lang.String beanName)` Undeclare a previously declared bean.

Uses of BSFException in org.apache.bsf.engines.jacl

Methods in org.apache.bsf.engines.jacl that throw BSFException
`java.lang.Object` | `JaclEngine.call(java.lang.Object obj, java.lang.String method, java.lang.Object[] args)`
`void` | `JaclEngine.declareBean(BSFDeclaredBean bean)` Declare a bean
`java.lang.Object` | `JaclEngine.eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)` This is used by an application to evaluate a string containing some expression.
`void` | `JaclEngine.initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` Initialize the engine.
`void` | `JaclEngine.undeclareBean(BSFDeclaredBean bean)` Undeclare a previously declared bean.

Uses of BSFException in org.apache.bsf.engines.javascript

Methods in org.apache.bsf.engines.javascript that throw BSFException
`java.lang.Object` | `JavaScriptEngine.call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` Return an object from an extension.
`void` | `JavaScriptEngine.declareBean(BSFDeclaredBean bean)`
`java.lang.Object` | `JavaScriptEngine.eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)` This is used by an application to evaluate a string containing some expression.
`void` | `JavaScriptEngine.initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` Initialize the engine.
`void` | `JavaScriptEngine.undeclareBean(BSFDeclaredBean bean)`

Uses of BSFException in org.apache.bsf.engines.jython

Methods in org.apache.bsf.engines.jython that throw BSFException
`java.lang.Object` | `JythonEngine.call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` call the named method of the given object.
`void` | `JythonEngine.declareBean(BSFDeclaredBean bean)` Declare a bean
`java.lang.Object` | `JythonEngine.apply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments)` Evaluate an anonymous function (differs from eval() in that apply() handles multiple lines).
`java.lang.Object` | `JythonEngine.eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Evaluate an expression.
`void` | `JythonEngine.exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Execute a script.
`void` | `JythonEngine.iexec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Execute script code, emulating console interaction.
`void` | `JythonEngine.initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` Initialize the engine.
`void` | `JythonEngine.undeclareBean(BSFDeclaredBean bean)` Undeclare a previously declared bean.

Uses of BSFException in org.apache.bsf.engines.netrexx

Methods in org.apache.bsf.engines.netrexx that throw BSFException
`java.lang.Object` | `NetRexxEngine.call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` Return an object from an extension.
`void` | `NetRexxEngine.declareBean(BSFDeclaredBean bean)`
`java.lang.Object` | `NetRexxEngine.eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Override impl of execute.
`void` | `NetRexxEngine.exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Override impl of execute.
`java.lang.Object` | `NetRexxEngine.execEvalShared(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript, boolean returnsObject)` This is shared code for the exec() and eval() operations.
`void` | `NetRexxEngine.initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)`
`void` | `NetRexxEngine.undeclareBean(BSFDeclaredBean bean)`

Uses of BSFException in org.apache.bsf.engines.xslt

Methods in org.apache.bsf.engines.xslt that throw BSFException
`java.lang.Object` | `XSLTEngine.call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` call the named method of the given object.
`void` | `XSLTEngine.declareBean(BSFDeclaredBean bean)` Declare a bean by setting it as a parameter
`java.lang.Object` | `XSLTEngine.eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)` Evaluate an expression.
`void` | `XSLTEngine.initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` Initialize the engine.
`void` | `XSLTEngine.undeclareBean(BSFDeclaredBean bean)` Undeclare a bean by setting he parameter represeting it to null

Uses of BSFException in org.apache.bsf.util

Methods in org.apache.bsf.util that throw BSFException
`java.lang.Object` | `BSFEngineImpl.apply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments)` Default impl of apply - calls eval ignoring parameters and returns the result.
`void` | `BSFEngineImpl.compileApply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments, CodeBuffer cb)` Default impl of compileApply - calls compileExpr ignoring parameters.
`void` | `BSFEngineImpl.compileExpr(java.lang.String source, int lineNo, int columnNo, java.lang.Object expr, CodeBuffer cb)` Default impl of compileExpr - generates code that'll create a new manager, evaluate the expression, and return the value.
`void` | `BSFEngineImpl.compileScript(java.lang.String source, int lineNo, int columnNo, java.lang.Object script, CodeBuffer cb)` Default impl of compileScript - generates code that'll create a new manager, and execute the script.
`void` | `BSFEngineImpl.declareBean(BSFDeclaredBean bean)`
`void` | `BSFEngineImpl.exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Default impl of execute - calls eval and ignores the result.
`void` | `BSFEngineImpl.iexec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Default impl of interactive execution - calls eval and ignores the result.
`void` | `BSFEngineImpl.initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` initialize the engine; called right after construction by the manager.
`void` | `BSFEngineImpl.undeclareBean(BSFDeclaredBean bean)`
`void` | `BSFFunctions.addEventListener(java.lang.Object src, java.lang.String eventSetName, java.lang.String filter, java.lang.Object script)`
`static void` | `EngineUtils.addEventListener(java.lang.Object bean, java.lang.String eventSetName, java.lang.String filter, BSFEngine engine, BSFManager manager, java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Add a script as a listener to some event coming out of an object.
`static void` | `EngineUtils.addEventListenerReturningEventInfos(java.lang.Object bean, java.lang.String eventSetName, java.lang.String filter, BSFEngine engine, BSFManager manager, java.lang.String source, int lineNo, int columnNo, java.lang.Object script, java.lang.Object dataFromScriptingEngine)` Add a script as a listener to some event coming out of an object.
`static java.lang.Object` | `EngineUtils.callBeanMethod(java.lang.Object bean, java.lang.String methodName, java.lang.Object[] args)` Finds and invokes a method with the given signature on the given bean.
`static java.lang.Object` | `EngineUtils.createBean(java.lang.String className, java.lang.Object[] args)` Creates a new bean.
`static java.lang.Class` | `EngineUtils.loadClass(BSFManager mgr, java.lang.String name)` Load a class using the class loader of given manager.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES