org.jboss.management.mejb
Class RMIClientNotificationListener

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

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
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.