test.implementation.notification.support
Class Listener
java.lang.Object
test.implementation.notification.support.Listener
- All Implemented Interfaces:
- EventListener, NotificationListener
public class Listener
- extends Object
- implements NotificationListener
A listener
- Author:
- Adrian Brock.
Constructor Summary |
Listener()
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifications
public HashMap notifications
- The notifications received by handback object
waiting
public boolean waiting
Listener
public Listener()
- Constructor
handleNotification
public void handleNotification(Notification notification,
Object handback)
- Handle the notification
- Specified by:
handleNotification
in interface NotificationListener
doWait
public void doWait(boolean value)
doNotify
public void doNotify(boolean expected)
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.