|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.slee.usage.UsageUpdatedFilter
public class UsageUpdatedFilter
A notification filter that only allows through UsageNotifications where the
notification source and usage parameter name match specified values. If the
notification contains usage information for some other notification source or usage
parameter, the notification is suppressed.
Notifications that are not instances of UsageNotification are suppressed
by this filter.
| Constructor Summary | |
|---|---|
UsageUpdatedFilter(NotificationSource notificationSource,
java.lang.String paramName)
Create a UsageUpdatedFilter. |
|
UsageUpdatedFilter(ServiceID service,
SbbID sbb,
java.lang.String paramName)
Deprecated. Replaced with UsageUpdatedFilter(NotificationSource, String) as usage
collecting has been expanded to include SLEE components other than SBBs. |
|
| 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 UsageUpdatedFilter(ServiceID service,
SbbID sbb,
java.lang.String paramName)
throws java.lang.NullPointerException
UsageUpdatedFilter(NotificationSource, String) as usage
collecting has been expanded to include SLEE components other than SBBs.
UsageUpdatedFilter. A filter created using this constructor will
only allow SLEE 1.0-compliant usage notifications to pass through where they otherwise
satisfy the filtering criteria.
service - the component identifier of the Service whose usage parameter
should be monitored.sbb - the component identifier of the SBB whose usage parameter should be
monitored.paramName - the name of a usage parameter defined by the SBB.
java.lang.NullPointerException - if any argument is null.
public UsageUpdatedFilter(NotificationSource notificationSource,
java.lang.String paramName)
throws java.lang.NullPointerException
UsageUpdatedFilter. A filter created using this constructor will
only allow SLEE 1.1-compliant usage notifications to pass through where they otherwise
satisfy the filtering criteria.
notificationSource - the notification source whose usage parameter should be monitored.paramName - the name of a usage parameter defined by the notification source.
java.lang.NullPointerException - if either argument is null.| Method Detail |
|---|
public boolean isNotificationEnabled(javax.management.Notification notification)
isNotificationEnabled in interface javax.management.NotificationFilternotification - 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
UsageNotification.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||