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

ListenerServiceMBean (JBoss System API) - JBoss 3.2.7 system API Documentation 英文版文档


org.jboss.system
Interface ListenerServiceMBean

All Superinterfaces:
Service, ServiceMBean
All Known Implementing Classes:
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.1.2.2 $
Author:
Dimitris Andreadis
See Also:
ServiceMBean, ListenerServiceMBeanSupport

Field Summary
static String SL_MBEAN_ELEMENT
           
static String SL_MBEAN_HANDBACK_ATTRIBUTE
           
static String SL_MBEAN_NAME_ATTRIBUTE
           
static String SL_NOTIFICATION_ELEMENT
           
static String SL_NOTIFICATION_TYPE_ATTRIBUTE
           
static String SL_ROOT_ELEMENT
          The XML subscription-list elements and attributes
 
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
 void setSubscriptionList(Element list)
          Used to configure at start-up the JMX notification subscriptions.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

SL_ROOT_ELEMENT

public static final String SL_ROOT_ELEMENT
The XML subscription-list elements and attributes

See Also:
Constant Field Values

SL_MBEAN_ELEMENT

public static final String SL_MBEAN_ELEMENT
See Also:
Constant Field Values

SL_NOTIFICATION_ELEMENT

public static final String SL_NOTIFICATION_ELEMENT
See Also:
Constant Field Values

SL_MBEAN_NAME_ATTRIBUTE

public static final String SL_MBEAN_NAME_ATTRIBUTE
See Also:
Constant Field Values

SL_MBEAN_HANDBACK_ATTRIBUTE

public static final String SL_MBEAN_HANDBACK_ATTRIBUTE
See Also:
Constant Field Values

SL_NOTIFICATION_TYPE_ATTRIBUTE

public static final String SL_NOTIFICATION_TYPE_ATTRIBUTE
See Also:
Constant Field Values
Method Detail

setSubscriptionList

public 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: ... ... See jboss-subscription.dtd



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