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

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

public class MBeanListener
extends Object
implements javax.management.NotificationListener, MBeanListenerMBean

Simple Listener

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

Field Summary
 long count
           
 long count1
           
 long count2
           
 Object handback
           
 Object handback1
           
 Object handback2
           
 Object source
           
 Object source1
           
 Object source2
           
 
Constructor Summary
MBeanListener()
           
MBeanListener(String hb1, String hb2)
           
 
Method Summary
 void handleNotification(javax.management.Notification n, Object nhb)
          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

count

public long count

source

public Object source

handback

public Object handback

count1

public long count1

source1

public Object source1

handback1

public Object handback1

count2

public long count2

source2

public Object source2

handback2

public Object handback2
Constructor Detail

MBeanListener

public MBeanListener()

MBeanListener

public MBeanListener(String hb1,
                     String hb2)
Method Detail

handleNotification

public void handleNotification(javax.management.Notification n,
                               Object nhb)
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:
n - the notification object
nhb - the handback object given to the broadcaster upon listener registration


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