org.jini.rio.monitor
Class ProvisionMonitorEventAdapter

java.lang.Object
  extended by org.jini.rio.event.EventNotificationAdapter
      extended by org.jini.rio.monitor.ProvisionMonitorEventAdapter
All Implemented Interfaces:
Remote, EventListener, RemoteEventListener

public class ProvisionMonitorEventAdapter
extends EventNotificationAdapter

Provides the support to transform ProvisionMonitorEvent notifications to JMX notifications


Field Summary
 
Fields inherited from class org.jini.rio.event.EventNotificationAdapter
notificationBroadcasterSupport, objectName
 
Constructor Summary
ProvisionMonitorEventAdapter(ObjectName objectName, NotificationBroadcasterSupport notificationBroadcasterSupport)
          Create a ProvisionFailureEventAdapter
 
Method Summary
 MBeanNotificationInfo getNotificationInfo()
          Get the MBeanNotificationInfo for the transformed ProvisionMonitorEvent
 void notify(RemoteEvent theEvent)
          Transforms the notification of a ProvisionMonitorEvent to a JMX notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvisionMonitorEventAdapter

public ProvisionMonitorEventAdapter(ObjectName objectName,
                                    NotificationBroadcasterSupport notificationBroadcasterSupport)
Create a ProvisionFailureEventAdapter

Parameters:
objectName - The JMX ObjectName
notificationBroadcasterSupport -
Method Detail

notify

public void notify(RemoteEvent theEvent)
            throws UnknownEventException,
                   RemoteException
Transforms the notification of a ProvisionMonitorEvent to a JMX notification

Specified by:
notify in interface RemoteEventListener
Specified by:
notify in class EventNotificationAdapter
Parameters:
theEvent - The remote evet notification
Throws:
UnknownEventException - If theEvent argument is an unknown or unexpected type
RemoteException
See Also:
EventNotificationAdapter.notify(net.jini.core.event.RemoteEvent)

getNotificationInfo

public MBeanNotificationInfo getNotificationInfo()
Get the MBeanNotificationInfo for the transformed ProvisionMonitorEvent

Specified by:
getNotificationInfo in class EventNotificationAdapter
Returns:
The MBeanNotificationInfo for the JMX notification
See Also:
EventNotificationAdapter.getNotificationInfo()


Copyright (c) 2005 Sun Microsystems, Inc.
Copyright (c) 2006 GigaSpaces Technologies, Inc.
All Rights Reserved.