com.adventnet.adaptors.rmi
Class RemoteNotificationFilterImpl
java.lang.Object
com.adventnet.adaptors.rmi.RemoteNotificationFilterImpl
- All Implemented Interfaces:
- RemoteNotificationFilter, java.rmi.Remote
public class RemoteNotificationFilterImpl
- extends java.lang.Object
- implements RemoteNotificationFilter
This class acts as a wrapper for the notificationfilter implementation and
will be used for filtering the notifications to the client side of the rmi
environment.
|
Field Summary |
(package private) javax.management.NotificationFilter |
notifFilter
|
|
Constructor Summary |
RemoteNotificationFilterImpl()
Default Constructor for the NotificationFilterImpl |
RemoteNotificationFilterImpl(javax.management.NotificationFilter notifFilter)
Constructor that takes the NotificationFilter instance that this
RemoteNotificationFilter would represent on the client side. |
|
Method Summary |
boolean |
isNotificationEnabled(javax.management.Notification notification)
Invoked before sending the specified notification to the remote listener. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifFilter
javax.management.NotificationFilter notifFilter
RemoteNotificationFilterImpl
public RemoteNotificationFilterImpl()
- Default Constructor for the NotificationFilterImpl
RemoteNotificationFilterImpl
public RemoteNotificationFilterImpl(javax.management.NotificationFilter notifFilter)
- Constructor that takes the NotificationFilter instance that this
RemoteNotificationFilter would represent on the client side.
- Parameters:
notifFilter - NotificationFilter instance
isNotificationEnabled
public boolean isNotificationEnabled(javax.management.Notification notification)
throws java.rmi.RemoteException
- Invoked before sending the specified notification to the remote listener.
- Specified by:
isNotificationEnabled in interface RemoteNotificationFilter
- Parameters:
notification - The notification to be sent remotely.
- Returns:
- True if the notification has to be sent to the listener, false otherwise.
- Throws:
java.rmi.RemoteException