test.compliance.server.support
Class Listener

java.lang.Object
  extended bytest.compliance.server.support.Listener
All Implemented Interfaces:
java.util.EventListener, ListenerMBean (src) , NotificationListener (src)

public class Listener
extends java.lang.Object
implements ListenerMBean (src) , NotificationListener (src)


Field Summary
 boolean error
           
 int notificationCount
           
 
Constructor Summary
Listener()
           
 
Method Summary
 void doSomething()
           
 void handleNotification(Notification (src)  notification, java.lang.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 (src)

handleNotification

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

Specified by:
handleNotification in interface NotificationListener (src)
Parameters:
notification - the notification object
handback - the handback object given to the broadcaster upon listener registration