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