| |
|
| java.lang.Object javax.management.NotificationFilterSupport
All known Subclasses: javax.management.relation.MBeanServerNotificationFilter,
NotificationFilterSupport | public class NotificationFilterSupport implements NotificationFilter,Serializable(Code) | | Default implementation of a NotificationListener that filters out Notifications that
does not match the types enabled in this filter.
version: $Revision: 1.11 $ |
disableAllTypes | public void disableAllTypes()(Code) | | Forbids all notification types to be received by listeners
|
disableType | public void disableType(String type)(Code) | | Forbids the gven notification type to be received by listeners
Parameters: type - The notification type to disable |
getEnabledTypes | public Vector getEnabledTypes()(Code) | | Returns the notification type that are not filtered out by this filter
|
hashCode | public int hashCode()(Code) | | |
isNotificationEnabled | public boolean isNotificationEnabled(Notification notification)(Code) | | Filters out notifications whose type is not enabled in this filter.
Parameters: notification - The notification to filter True if the notification should be delivered to the listener, false otherwise |
|
|
|