org.jboss.system.filterfactory
Class NotificationFilterSupportFactory

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

public class NotificationFilterSupportFactory
extends Object
implements NotificationFilterFactory

Factory for NotificationFilterSupport filters. The produced filter filters-in zero or more Notification types, so you need to explicitly enable the types you want. The passed filterConfig xml element fragment should look like: ...

Version:
$Revision: 1.1.2.2 $
Author:
Dimitris Andreadis

Field Summary
static String ENABLE_ELEMENT
          the xml element and attribute supported by this factory
static String ENABLE_TYPE_ATTRIBUTE
           
 
Constructor Summary
NotificationFilterSupportFactory()
          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_TYPE_ATTRIBUTE

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

NotificationFilterSupportFactory

public NotificationFilterSupportFactory()
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.