org.jboss.test.jmx.compliance.notification.support
Class Listener

java.lang.Object
  extended byorg.jboss.test.jmx.compliance.notification.support.Listener
All Implemented Interfaces:
EventListener, javax.management.NotificationListener

public class Listener
extends Object
implements javax.management.NotificationListener

A listener

Author:
Adrian Brock.

Field Summary
 HashMap notifications
          The notifications received by handback object
 
Constructor Summary
Listener()
          Constructor
 
Method Summary
 void handleNotification(javax.management.Notification notification, Object handback)
          Handle the notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notifications

public HashMap notifications
The notifications received by handback object

Constructor Detail

Listener

public Listener()
Constructor

Method Detail

handleNotification

public void handleNotification(javax.management.Notification notification,
                               Object handback)
Handle the notification

Specified by:
handleNotification in interface javax.management.NotificationListener
Parameters:
notification - the notification object
handback - the handback object given to the broadcaster upon listener registration


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.