org.jboss.mx.remoting.event
Class CompositeEventFilter
java.lang.Object
org.jboss.mx.remoting.event.CompositeEventFilter
- All Implemented Interfaces:
- Serializable, NotificationFilter
public class CompositeEventFilter
- extends Object
- implements NotificationFilter
Composite-pattern based filter
- Version:
- $Revision: 81084 $
- Author:
- Jeff Haynie
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AND
public static final int AND
- See Also:
- Constant Field Values
OR
public static final int OR
- See Also:
- Constant Field Values
operator
protected int operator
filters
protected NotificationFilter[] filters
CompositeEventFilter
public CompositeEventFilter(NotificationFilter[] filters,
int operator)
- create a filter composite of filters using the specific operator
CompositeEventFilter
public CompositeEventFilter(NotificationFilter[] filters)
- create a filter composite of filters using the AND operator
isNotificationEnabled
public boolean isNotificationEnabled(Notification event)
- Specified by:
isNotificationEnabled
in interface NotificationFilter
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.