|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScriptingListenerMBean
MBean interface of a configurable JMX notification listener that processes notification
| Field Summary |
|---|
| Fields inherited from interface org.jboss.system.ListenerServiceMBean |
|---|
SL_FILTER_ELEMENT, SL_FILTER_FACTORY_ATTRIBUTE, SL_MBEAN_ELEMENT, SL_MBEAN_HANDBACK_ATTRIBUTE, SL_MBEAN_NAME_ATTRIBUTE, SL_NOTIFICATION_ELEMENT, SL_NOTIFICATION_TYPE_ATTRIBUTE, SL_ROOT_ELEMENT |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Method Summary | |
|---|---|
long |
getAverageProcessingTime()
The average notification processing time in msecs |
boolean |
getDynamicSubscriptions()
|
long |
getNotificationsProcessed()
The number of notification processed |
long |
getNotificationsReceived()
The number of notifications received |
String |
getScript()
|
String |
getScriptLanguage()
|
long |
getTotalProcessingTime()
The time spent processing notifications in msecs |
void |
setDynamicSubscriptions(boolean dynamicSubscriptions)
Flag to enable/disable dynamic subscriptions |
void |
setScript(String script)
The script to execute when a notification is received |
void |
setScriptLanguage(String language)
The language the script is written into |
| Methods inherited from interface org.jboss.system.ListenerServiceMBean |
|---|
setSubscriptionList |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Method Detail |
|---|
void setScript(String script)
String getScript()
void setScriptLanguage(String language)
String getScriptLanguage()
void setDynamicSubscriptions(boolean dynamicSubscriptions)
boolean getDynamicSubscriptions()
long getNotificationsReceived()
long getNotificationsProcessed()
long getTotalProcessingTime()
long getAverageProcessingTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||