org.apache.axis2.scripting
Class ScriptInvoker

java.lang.Object
  extended by org.apache.axis2.scripting.ScriptInvoker

public class ScriptInvoker
extends java.lang.Object


Field Summary
protected  org.apache.bsf.BSFEngine engine
           
protected  int hotUpdateInterval
           
protected  long lastCheckTime
           
protected  long lastModified
           
protected  java.io.File scriptFile
           
 
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
 

Field Detail

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
Constructor Detail

ScriptInvoker

public ScriptInvoker(java.io.File scriptFile,
                     int hotUpdateInterval)
Method Detail

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.