Rio Project 4.2 API Documentation



org.rioproject.monitor
Class ProvisionFailureEventAdapter

java.lang.Object
  extended by org.rioproject.event.EventNotificationAdapter
      extended by org.rioproject.monitor.ProvisionFailureEventAdapter
All Implemented Interfaces:
Remote, EventListener, RemoteEventListener

public class ProvisionFailureEventAdapter
extends EventNotificationAdapter

Provides the support to transform ProvisionFailureEvent notifications to JMX notifications

Author:
Dennis Reedy

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

Constructor Detail

ProvisionFailureEventAdapter

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

Parameters:
objectName - The JMX ObjectName
notificationBroadcasterSupport - The MBean that is sending the notification
Method Detail

notify

public void notify(RemoteEvent theEvent)
            throws UnknownEventException,
                   RemoteException
Transforms the notification of a ProvisionFailureEvent 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 ProvisionFailureEvent

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

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.