org.jboss.system.filterfactory
Class NotificationFilterSupportFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
NotificationFilterSupportFactory
public NotificationFilterSupportFactory()
- Default public CTOR (necessary)
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.