org.jboss.system
Interface NotificationFilterFactory

All Known Implementing Classes:
AttributeChangeNotificationFilterFactory, DeploymentInfoNotificationFilterFactory, MBeanServerNotificationFilterFactory, NotificationFilterSupportFactory

public interface NotificationFilterFactory

Abstracts NotificationFilter creation based on an arbritrary xml element fragment. Used by ListenerServiceMBeanSupport to enable NotificationFilterFactory plugins.

Version:
$Revision: 81033 $
Author:
Dimitris Andreadis
See Also:
ListenerServiceMBeanSupport

Method Summary
 NotificationFilter createNotificationFilter(Element filterConfig)
          Create a notification filter implementation and initialize it, using the passed xml element fragment.
 

Method Detail

createNotificationFilter

NotificationFilter createNotificationFilter(Element filterConfig)
                                            throws Exception
Create a notification filter implementation and initialize it, using the passed xml element fragment.

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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.