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

RMINotificationListener (JBoss/Management API) - JBoss 4.0.1 sp1 management API Documentation 英文版文档


org.jboss.management.mejb
Class RMINotificationListener

java.lang.Object
  extended byorg.jboss.management.mejb.RMINotificationListener
All Implemented Interfaces:
EventListener, ListenerMBean, javax.management.NotificationListener, RMINotificationListenerMBean

public class RMINotificationListener
extends Object
implements RMINotificationListenerMBean

Notification Listener Implementation registered as MBean on the remote JMX Server and the added as Notification Listener on the remote JMX Server. Each notification received will be transfered to the remote client using RMI Callback Objects.

Version:
$Revision: 1.8 $
Author:
Andreas Schaefer

Constructor Summary
RMINotificationListener(RMIClientNotificationListenerInterface pClientListener)
          Creates the RMI Notification Listener MBean implemenation which will be registered at the remote JMX Server as notificatin listener and then send the notification over the provided RMI Notification sender to the client
 
Method Summary
 boolean equals(Object pTest)
          Test if this and the given Object are equal.
 void handleNotification(javax.management.Notification pNotification, Object pHandback)
          Handles the given notifcation event and passed it to the registered RMI Notification Sender
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMINotificationListener

public RMINotificationListener(RMIClientNotificationListenerInterface pClientListener)
Creates the RMI Notification Listener MBean implemenation which will be registered at the remote JMX Server as notificatin listener and then send the notification over the provided RMI Notification sender to the client

Parameters:
pClientListener - RMI-Stub used to transfer the Notification over the wire.
Method Detail

handleNotification

public void handleNotification(javax.management.Notification pNotification,
                               Object pHandback)
Handles the given notifcation event and passed it to the registered RMI Notification Sender

Specified by:
handleNotification in interface ListenerMBean
Parameters:
pNotification - NotificationEvent
pHandback - Handback object

equals

public boolean equals(Object pTest)
Test if this and the given Object are equal. This is true if the given object both refer to the same local listener

Parameters:
pTest - Other object to test if equal
Returns:
True if both are of same type and refer to the same local listener

hashCode

public int hashCode()
Returns:
Hashcode of the remote listener


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