org.jboss.mx.server
Class NotificationListenerProxy
java.lang.Object
org.jboss.mx.server.NotificationListenerProxy
- All Implemented Interfaces:
- EventListener, NotificationListener
public class NotificationListenerProxy
- extends Object
- implements NotificationListener
A notification listener used to forward notifications to listeners
added through the mbean server.
The original source is replaced with the object name.
- Version:
- $Revision: 81022 $
- Author:
- Adrian Brock.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationListenerProxy
public NotificationListenerProxy(ObjectName name,
NotificationListener listener)
- Create a new Notification Listener Proxy
- Parameters:
name
- the object namelistener
- the original listener
handleNotification
public void handleNotification(Notification notification,
Object handback)
- Specified by:
handleNotification
in interface NotificationListener
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.