|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Management interface for the JythonRunner MBean.
Method Summary | |
boolean |
getCacheScript()
Returns whether the script should be kept in the cache. |
java.lang.String |
getNotificationType()
Gets the specific notification type being listened |
javax.management.ObjectName |
getObservedObject()
Gets the object being observed by this MBean |
java.lang.String |
getScript()
Returns the script as text. |
java.net.URL |
getScriptURL()
Returns the URL pointing to the script source |
boolean |
getUseText()
Indicates wether to use the script given in the ScripText variable or the one given in the script File. |
void |
runScript()
Executes a given script. |
void |
setCacheScript(boolean useCache)
Sets whether the script should be kept in the cache. |
void |
setNotificationType(java.lang.String notificationName)
Sets the notification type being listened. |
void |
setObservedObject(javax.management.ObjectName targetMBeanName)
Sets the object being observed by this MBean. |
void |
setScript(java.lang.String text)
Sets the content of the script. |
void |
setScriptURL(java.net.URL file)
Sets the script source as URL. |
Method Detail |
public void runScript()
public java.lang.String getNotificationType()
public void setNotificationType(java.lang.String notificationName)
public void setObservedObject(javax.management.ObjectName targetMBeanName)
public javax.management.ObjectName getObservedObject()
public boolean getUseText()
public void setScript(java.lang.String text)
public java.lang.String getScript()
public java.net.URL getScriptURL()
public void setScriptURL(java.net.URL file)
public boolean getCacheScript()
public void setCacheScript(boolean useCache)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |