Class ScriptInvoker

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

public class ScriptInvoker extends Object
  • Field Details

    • scriptFile

      protected File scriptFile
    • lastModified

      protected long lastModified
    • lastCheckTime

      protected long lastCheckTime
    • hotUpdateInterval

      protected int hotUpdateInterval
    • engine

      protected org.apache.bsf.BSFEngine engine
  • Constructor Details

    • ScriptInvoker

      public ScriptInvoker(File scriptFile, int hotUpdateInterval)
  • Method Details

    • 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