org.jboss.system.filterfactory
Class AttributeChangeNotificationFilterFactory

java.lang.Object
  extended by org.jboss.system.filterfactory.AttributeChangeNotificationFilterFactory
All Implemented Interfaces:
NotificationFilterFactory

public class AttributeChangeNotificationFilterFactory
extends Object
implements NotificationFilterFactory

Factory for AttributeChangeNotificationFilter filters. The produced filter filters-in AttributeChangeNotifications for zero or more attributes, so you need to explicitly enable the attribute names you are interested in. The passed filterConfig xml element fragment should look like: ...

Version:
$Revision: 1.1.2.2 $
Author:
Dimitris Andreadis

Field Summary
static String ENABLE_ATTRNAME_ATTRIBUTE
           
static String ENABLE_ELEMENT
          the xml element and attribute supported by this factory
 
Constructor Summary
AttributeChangeNotificationFilterFactory()
          Default public CTOR (necessary)
 
Method Summary
 javax.management.NotificationFilter createNotificationFilter(Element filterConfig)
          The actual filter factory implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENABLE_ELEMENT

public static final String ENABLE_ELEMENT
the xml element and attribute supported by this factory

See Also:
Constant Field Values

ENABLE_ATTRNAME_ATTRIBUTE

public static final String ENABLE_ATTRNAME_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

AttributeChangeNotificationFilterFactory

public AttributeChangeNotificationFilterFactory()
Default public CTOR (necessary)

Method Detail

createNotificationFilter

public javax.management.NotificationFilter createNotificationFilter(Element filterConfig)
                                                             throws Exception
The actual filter factory implementation

Specified by:
createNotificationFilter in interface NotificationFilterFactory
Parameters:
filterConfig - the xml fragment to use for configuring the filter
Returns:
an initialized NotificationFilter
Throws:
Exception - in case the xml fragment cannot be parsed properly


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