org.jboss.system
Interface ListenerServiceMBean
- All Superinterfaces:
- Service (src) , ServiceMBean (src)
- All Known Implementing Classes:
- ListenerServiceMBeanSupport (src)
- public interface ListenerServiceMBean
- extends ServiceMBean (src)
An extension of the ServiceMBean interface that provides for
declarative JMX notification subscription handling.
The SubscriptionList attribute is used to specify the list
of MBeans/notifications that the listener service instance
will subscribe for.
The abstract class ListenerServiceMBeanSupport implements
this interface.
- See Also:
ServiceMBean
(src) ,
ListenerServiceMBeanSupport
(src)
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary |
void |
setSubscriptionList(org.w3c.dom.Element list)
Used to configure at start-up the JMX notification subscriptions. |
SL_ROOT_ELEMENT
public static final java.lang.String SL_ROOT_ELEMENT
- The XML subscription-list elements and attributes
- See Also:
- Constant Field Values (src)
SL_MBEAN_ELEMENT
public static final java.lang.String SL_MBEAN_ELEMENT
- See Also:
- Constant Field Values (src)
SL_FILTER_ELEMENT
public static final java.lang.String SL_FILTER_ELEMENT
- See Also:
- Constant Field Values (src)
SL_NOTIFICATION_ELEMENT
public static final java.lang.String SL_NOTIFICATION_ELEMENT
- See Also:
- Constant Field Values (src)
SL_MBEAN_NAME_ATTRIBUTE
public static final java.lang.String SL_MBEAN_NAME_ATTRIBUTE
- See Also:
- Constant Field Values (src)
SL_MBEAN_HANDBACK_ATTRIBUTE
public static final java.lang.String SL_MBEAN_HANDBACK_ATTRIBUTE
- See Also:
- Constant Field Values (src)
SL_FILTER_FACTORY_ATTRIBUTE
public static final java.lang.String SL_FILTER_FACTORY_ATTRIBUTE
- See Also:
- Constant Field Values (src)
SL_NOTIFICATION_TYPE_ATTRIBUTE
public static final java.lang.String SL_NOTIFICATION_TYPE_ATTRIBUTE
- See Also:
- Constant Field Values (src)
setSubscriptionList
public void setSubscriptionList(org.w3c.dom.Element list)
- Used to configure at start-up the JMX notification subscriptions.
The configuration is done inline in the mbean descriptor. For example:
...
...
The filter mechanism has been extended to support specification
of arbitrary filters, using filter factory plugins:
...
...
'factory' is the full class name of a class that implements the
org.jboss.system.NotificationFilterFactory interface. If the
class cannot be loaded, a second attempt is made to load the
class from within the org.jboss.system.filterfactory package.
Three NotificationFilterFactories corresponding to the three
"standard" jmx notification filters, have been pre-packaged.
Those are:
- See Also:
AttributeChangeNotificationFilterFactory
(src) ,
MBeanServerNotificationFilterFactory
(src) ,
See also jboss-subscription.dtd
(src)