org.apache.bsf.engines.javaclass
Class JavaClassEngine
- BSFEngine, PropertyChangeListener
public class JavaClassEngine
This is the interface to scripts consisting of Java objects from the
Bean Scripting Framework.
- Sanjiva Weerawarana
Object | call(Object object, String method, Object[] args) - call the named method of the given object.
|
Object | eval(String source, int lineNo, int columnNo, Object oscript) - This is used by an application to evaluate an object containing
some expression - clearly not possible for compiled code ..
|
apply , compileApply , compileExpr , compileScript , declareBean , disconnectedDebuggerNotify , exec , getSpecificDebuggingInterface , initialize , placeBreakpointAtLine , placeBreakpointAtOffset , propertyChange , removeBreakpoint , setEntryExit , terminate , undeclareBean |
call
public Object call(Object object,
String method,
Object[] args)
throws BSFException
call the named method of the given object. If object is an instance
of Class, then the call is a static call on that object. If not, its
an instance method call or a static call (as per Java) on the given
object.
- call in interface BSFEngine
eval
public Object eval(String source,
int lineNo,
int columnNo,
Object oscript)
throws BSFException
This is used by an application to evaluate an object containing
some expression - clearly not possible for compiled code ..
- eval in interface BSFEngine