站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

NotificationListenerProxy (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


org.jboss.mx.server
Class NotificationListenerProxy

java.lang.Object
  extended byorg.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: 1.4 $
Author:
Adrian Brock.

Constructor Summary
NotificationListenerProxy(ObjectName name, NotificationListener listener)
          Create a new Notification Listener Proxy
 
Method Summary
 void handleNotification(Notification notification, 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
 

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)
Description copied from interface: NotificationListener
Callback method from the broadcaster MBean this listener implementation is registered to.

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


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