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

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


org.jboss.management.mejb
Class RMIClientNotificationListener

java.lang.Object
  extended byorg.jboss.management.mejb.ClientNotificationListener
      extended byorg.jboss.management.mejb.RMIClientNotificationListener
All Implemented Interfaces:
Remote, RMIClientNotificationListenerInterface, Serializable

public class RMIClientNotificationListener
extends ClientNotificationListener
implements RMIClientNotificationListenerInterface

Client-side RMI Listener to receive the message and send to the clients listener. Its stub is used on the server-side to hand the Notifications over to this class.

Author:
Andreas "Mad" Schaefer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.management.mejb.ClientNotificationListener
log, mClientListener, mHandback
 
Constructor Summary
RMIClientNotificationListener(javax.management.ObjectName pSender, javax.management.NotificationListener pClientListener, Object pHandback, javax.management.NotificationFilter pFilter, MEJB pConnector)
           
 
Method Summary
 void handleNotification(javax.management.Notification pNotification, Object pHandback)
          Handles the given notification by sending this to the remote client listener
 
Methods inherited from class org.jboss.management.mejb.ClientNotificationListener
addNotificationListener, createListener, equals, getRemoteListenerName, getSenderMBean, removeNotificationListener
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIClientNotificationListener

public RMIClientNotificationListener(javax.management.ObjectName pSender,
                                     javax.management.NotificationListener pClientListener,
                                     Object pHandback,
                                     javax.management.NotificationFilter pFilter,
                                     MEJB pConnector)
                              throws RemoteException,
                                     javax.management.JMException
Method Detail

handleNotification

public void handleNotification(javax.management.Notification pNotification,
                               Object pHandback)
                        throws RemoteException
Handles the given notification by sending this to the remote client listener

Specified by:
handleNotification in interface RMIClientNotificationListenerInterface
Parameters:
pNotification - Notification to be send
pHandback - Handback object
Throws:
RemoteException - If a Remote Exception occurred


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