1 8 9 package mx4j.tools.jython; 10 11 import java.net.URL ; 12 import javax.management.ObjectName ; 13 14 19 public interface JythonRunnerMBean 20 { 21 26 public void runScript(); 27 28 31 public String getNotificationType(); 32 33 38 public void setNotificationType(String notificationName); 39 40 44 public void setObservedObject(ObjectName targetMBeanName); 45 46 49 public ObjectName getObservedObject(); 50 51 54 public boolean getUseText(); 55 56 59 public void setScript(String text); 60 61 64 public String getScript(); 65 66 69 public URL getScriptURL(); 70 71 74 public void setScriptURL(URL file); 75 76 80 public boolean getCacheScript(); 81 82 85 public void setCacheScript(boolean useCache); 86 } 87 | Popular Tags |