|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.notification.NotificationFilterProxy
NotificationFilterProxy wraps a real filter by the users to pass down to the mbean server so that as notification emitters apply the filter, the appropriate source can be set in the notification object before passing to the real filter.
Constructor Summary | |
NotificationFilterProxy(ObjectName source,
NotificationFilter delegate)
|
Method Summary | |
NotificationFilter |
getFilter()
return the real NotificationFilter |
ObjectName |
getSource()
return the real ObjectName source |
boolean |
isNotificationEnabled(Notification notification)
This method is called before a notification is sent to see whether the listener wants the notification. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NotificationFilterProxy(ObjectName source, NotificationFilter delegate)
Method Detail |
public boolean isNotificationEnabled(Notification notification)
isNotificationEnabled
in interface NotificationFilter
notification
- the notification to be sent.
public ObjectName getSource()
public NotificationFilter getFilter()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |