org.jboss.mx.server
Class NotificationListenerProxy

java.lang.Object
  extended by 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.

Constructor Summary
NotificationListenerProxy(ObjectName name, NotificationListener listener)
          Create a new Notification Listener Proxy
 
Method Summary
 void handleNotification(Notification notification, Object handback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationListenerProxy

public NotificationListenerProxy(ObjectName name,
                                 NotificationListener listener)
Create a new Notification Listener Proxy

Parameters:
name - the object name
listener - the original listener
Method Detail

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.