org.jboss.management.mejb
Class JMSNotificationListener
java.lang.Object
org.jboss.management.mejb.JMSNotificationListener
- All Implemented Interfaces:
- EventListener, javax.management.NotificationListener, JMSNotificationListenerMBean, ListenerMBean
public class JMSNotificationListener
- extends Object
- implements JMSNotificationListenerMBean
Remote Listener using JMS to send the event
- Version:
- $Revision: 1.6.6.2 $
- Author:
- ???
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 notification by sending this to the remote
client listener |
int |
hashCode()
|
JMSNotificationListener
public JMSNotificationListener(String pJNDIName,
javax.jms.Queue pQueue)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
handleNotification
public void handleNotification(javax.management.Notification pNotification,
Object pHandback)
- Handles the given notification by sending this to the remote
client listener
- Specified by:
handleNotification
in interface javax.management.NotificationListener
- Specified by:
handleNotification
in interface ListenerMBean
- Parameters:
pNotification
- Notification to be sendpHandback
- 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
- Overrides:
equals
in class Object
- 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()
- Overrides:
hashCode
in class Object
- Returns:
- Hashcode of the local listener
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.