org.apache.axis2.scripting
Class ScriptInvoker
java.lang.Object
org.apache.axis2.scripting.ScriptInvoker
public class ScriptInvoker
- extends java.lang.Object
Constructor Summary |
ScriptInvoker(java.io.File scriptFile,
int hotUpdateInterval)
|
Method Summary |
protected void |
checkUpdate()
|
protected void |
initEngine()
|
java.lang.Object |
invoke(java.lang.String functionName,
java.lang.Object[] args)
|
protected java.lang.String |
readScript()
Reads the complete script source code into a String |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptFile
protected java.io.File scriptFile
lastModified
protected long lastModified
lastCheckTime
protected long lastCheckTime
hotUpdateInterval
protected int hotUpdateInterval
engine
protected org.apache.bsf.BSFEngine engine
ScriptInvoker
public ScriptInvoker(java.io.File scriptFile,
int hotUpdateInterval)
invoke
public java.lang.Object invoke(java.lang.String functionName,
java.lang.Object[] args)
checkUpdate
protected void checkUpdate()
initEngine
protected void initEngine()
readScript
protected java.lang.String readScript()
- Reads the complete script source code into a String
Copyright © 2007 Apache Web Services Project. All Rights Reserved.