1 12 13 package com.openedit.modules.scriptrunner; 14 15 import com.openedit.OpenEditException; 16 17 18 23 public interface ScriptRunner 24 { 25 30 public void setScript(Script inScript); 31 32 37 public Script getScript(); 38 39 47 public void declareBean(String name, Object bean) throws OpenEditException; 48 49 59 public Object execFunction(String inFunctionName) throws OpenEditException; 60 61 72 public Object execFunction(String inFunctionName, Object [] inParameters) 73 throws OpenEditException; 74 75 80 public void init() throws OpenEditException; 81 82 85 public void terminate(); 86 } 87 | Popular Tags |