|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.bsf.util.BSFEngineImpl
jep.BSFJepEngine
BSFJepEngine.java - Apache BSF support.
Copyright (c) 2004, 2005 Mike Johnson.
This file is licenced under the the zlib/libpng License.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you
must not claim that you wrote the original software. If you use
this software in a product, an acknowledgment in the product
documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and
must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
Created: Sat Jun 12 19:41:04 2004
| Field Summary |
| Fields inherited from class org.apache.bsf.util.BSFEngineImpl |
classLoader, classPath, dbgmgr, declaredBeans, lang, mgr, tempDir |
| Constructor Summary | |
BSFJepEngine()
|
|
| Method Summary | |
java.lang.Object |
call(java.lang.Object object,
java.lang.String method,
java.lang.Object[] args)
Describe call method here. |
void |
declareBean(org.apache.bsf.BSFDeclaredBean bean)
Declare a bean |
java.lang.Object |
eval(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script)
Evaluate an expression. |
void |
exec(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script)
Execute a script. |
void |
initialize(org.apache.bsf.BSFManager mgr,
java.lang.String lang,
java.util.Vector declaredBeans)
Initialize the engine. |
static void |
main(java.lang.String[] args)
for testing. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Describe propertyChange method here. |
void |
terminate()
Describe terminate method here. |
void |
undeclareBean(org.apache.bsf.BSFDeclaredBean bean)
Undeclare a bean |
| Methods inherited from class org.apache.bsf.util.BSFEngineImpl |
apply, compileApply, compileExpr, compileScript, disconnectedDebuggerNotify, getSpecificDebuggingInterface, placeBreakpointAtLine, placeBreakpointAtOffset, removeBreakpoint, setEntryExit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BSFJepEngine()
| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - a String[] value
java.lang.Exception - if an error occurs
public void initialize(org.apache.bsf.BSFManager mgr,
java.lang.String lang,
java.util.Vector declaredBeans)
throws org.apache.bsf.BSFException
mgr - a BSFManager valuelang - a String valuedeclaredBeans - a Vector value
org.apache.bsf.BSFException - if an error occurspublic void terminate()
terminate method here.
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange method here.
e - a java.beans.PropertyChangeEvent value
public void declareBean(org.apache.bsf.BSFDeclaredBean bean)
throws org.apache.bsf.BSFException
bean - a BSFDeclaredBean value
org.apache.bsf.BSFException - if an error occurs
public void undeclareBean(org.apache.bsf.BSFDeclaredBean bean)
throws org.apache.bsf.BSFException
bean - a BSFDeclaredBean value
org.apache.bsf.BSFException - if an error occurs
public java.lang.Object call(java.lang.Object object,
java.lang.String method,
java.lang.Object[] args)
throws org.apache.bsf.BSFException
call method here.
object - an Object valuemethod - a String valueargs - an Object[] value
Object value
org.apache.bsf.BSFException - if an error occurs
public java.lang.Object eval(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script)
throws org.apache.bsf.BSFException
source - a String valuelineNo - an int valuecolumnNo - an int valuescript - an Object value
Object value
org.apache.bsf.BSFException - if an error occurs
public void exec(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script)
throws org.apache.bsf.BSFException
source - a String valuelineNo - an int valuecolumnNo - an int valuescript - an Object value
org.apache.bsf.BSFException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||