站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

NotificationListenerMBean (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.monitor.services
Interface NotificationListenerMBean

All Superinterfaces:
org.jboss.system.ListenerServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
NotificationListener

public interface NotificationListenerMBean
extends org.jboss.system.ListenerServiceMBean

MBean interface.


Field Summary
 
Fields inherited from interface org.jboss.system.ListenerServiceMBean
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
 boolean getDynamicSubscriptions()
          Gets the dynamic subscriptions status
 long getNotificationCount()
          Number of notifications received.
 javax.management.ObjectName getNotificationListener()
          Gets listener of notifications
 void setDynamicSubscriptions(boolean dynamicSubscriptions)
          Enables/disables dynamic subscriptions
 void setNotificationListener(javax.management.ObjectName notificationListener)
          Sets listener of notifications
 
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

getNotificationCount

public long getNotificationCount()
Number of notifications received.


setDynamicSubscriptions

public void setDynamicSubscriptions(boolean dynamicSubscriptions)
Enables/disables dynamic subscriptions


getDynamicSubscriptions

public boolean getDynamicSubscriptions()
Gets the dynamic subscriptions status


setNotificationListener

public void setNotificationListener(javax.management.ObjectName notificationListener)
Sets listener of notifications


getNotificationListener

public javax.management.ObjectName getNotificationListener()
Gets listener of notifications



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.