org.jboss.system
Interface ListenerServiceMBean
- All Superinterfaces:
- Service, ServiceMBean
- All Known Subinterfaces:
- BarrierControllerMBean
- All Known Implementing Classes:
- BarrierController, ListenerServiceMBeanSupport
public interface ListenerServiceMBean
- extends ServiceMBean
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.
- Version:
- $Revision: 1.3.4.2 $
- Author:
- Dimitris Andreadis
- See Also:
ServiceMBean
,
ListenerServiceMBeanSupport
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 |
SL_ROOT_ELEMENT
static final String SL_ROOT_ELEMENT
- The XML subscription-list elements and attributes
- See Also:
- Constant Field Values
SL_MBEAN_ELEMENT
static final String SL_MBEAN_ELEMENT
- See Also:
- Constant Field Values
SL_FILTER_ELEMENT
static final String SL_FILTER_ELEMENT
- See Also:
- Constant Field Values
SL_NOTIFICATION_ELEMENT
static final String SL_NOTIFICATION_ELEMENT
- See Also:
- Constant Field Values
SL_MBEAN_NAME_ATTRIBUTE
static final String SL_MBEAN_NAME_ATTRIBUTE
- See Also:
- Constant Field Values
SL_MBEAN_HANDBACK_ATTRIBUTE
static final String SL_MBEAN_HANDBACK_ATTRIBUTE
- See Also:
- Constant Field Values
SL_FILTER_FACTORY_ATTRIBUTE
static final String SL_FILTER_FACTORY_ATTRIBUTE
- See Also:
- Constant Field Values
SL_NOTIFICATION_TYPE_ATTRIBUTE
static final String SL_NOTIFICATION_TYPE_ATTRIBUTE
- See Also:
- Constant Field Values
setSubscriptionList
void setSubscriptionList(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
,
MBeanServerNotificationFilterFactory
,
See also jboss-subscription.dtd
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.