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

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

public class Listener
extends Object
implements ListenerMBean, javax.management.NotificationListener

Version:
$Revision: 1.1 $
Author:
Adrian Brock.

Field Summary
 boolean error
           
 int notificationCount
           
 
Constructor Summary
Listener()
           
 
Method Summary
 void doSomething()
           
 void handleNotification(javax.management.Notification notification, Object handback)
          Callback method from the broadcaster MBean this listener implementation is registered to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notificationCount

public int notificationCount

error

public boolean error
Constructor Detail

Listener

public Listener()
Method Detail

doSomething

public void doSomething()
Specified by:
doSomething in interface ListenerMBean

handleNotification

public void handleNotification(javax.management.Notification notification,
                               Object handback)
Description copied from interface: javax.management.NotificationListener
Callback method from the broadcaster MBean this listener implementation is registered to.

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.