org.apache.bsf.util
Class BSFFunctions
java.lang.Object
org.apache.bsf.util.BSFFunctions
public class BSFFunctions
- extends Object
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) & BML.
- Author:
- Sanjiva Weerawarana
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BSFFunctions
public BSFFunctions(BSFManager mgr,
BSFEngine engine)
addEventListener
public void addEventListener(Object src,
String eventSetName,
String filter,
Object script)
throws BSFException
- Throws:
BSFException
lookupBean
public Object lookupBean(String name)
registerBean
public void registerBean(String name,
Object bean)
unregisterBean
public void unregisterBean(String name)