|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.slee.management.TraceLevelFilter
A notification filter that filters TraceNotification
s based on their
trace level. Only trace notifications of the specified level or greater are
be allowed through this filter.
Notifications that are not instances of TraceNotification
are suppressed
by this filter.
Constructor Summary | |
TraceLevelFilter(Level minLevel)
Create a TraceLevelFilter . |
Method Summary | |
boolean |
isNotificationEnabled(javax.management.Notification notification)
Determine whether the specified notification should be delivered to notification listeners using this notification filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TraceLevelFilter(Level minLevel)
TraceLevelFilter
.minLevel
- this minimum trace level of trace notifications allowed
through this filter.Method Detail |
public boolean isNotificationEnabled(javax.management.Notification notification)
isNotificationEnabled
in interface javax.management.NotificationFilter
notification
- the notification to be sent.true
if the notification should be delivered to notification
listeners, false
otherwise. This method always returns
false
if notification
is not an instance of
TraceNotification
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |