Package org.apache.bsf.util
Class BSFFunctions
java.lang.Object
org.apache.bsf.util.BSFFunctions
This is a utility that engine implementors may use as the Java
object they expose in the scripting language as "bsf". This has
essentially a subset of the methods in BSFManager plus some
stuff from the utils. Currently used by Javascript (Rhino) invalid input: '&' BML.
- Author:
- Sanjiva Weerawarana
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEventListener
(Object src, String eventSetName, String filter, Object script) lookupBean
(String name) void
registerBean
(String name, Object bean) void
unregisterBean
(String name)
-
Constructor Details
-
BSFFunctions
-
-
Method Details
-
addEventListener
public void addEventListener(Object src, String eventSetName, String filter, Object script) throws BSFException - Throws:
BSFException
-
lookupBean
-
registerBean
-
unregisterBean
-