public interface JythonRunnerMBean
Modifier and Type | Method and Description |
---|---|
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.
|
void runScript()
java.lang.String getNotificationType()
void setNotificationType(java.lang.String notificationName)
void setObservedObject(javax.management.ObjectName targetMBeanName)
javax.management.ObjectName getObservedObject()
boolean getUseText()
void setScript(java.lang.String text)
java.lang.String getScript()
java.net.URL getScriptURL()
void setScriptURL(java.net.URL file)
boolean getCacheScript()
void setCacheScript(boolean useCache)