当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 management API Documentation 英文版文档
JMSNotificationListener (JBoss/Management API) - JBoss 4.0.1 sp1 management API Documentation 英文版文档
org.jboss.management.mejb
Class JMSNotificationListener
java.lang.Object
org.jboss.management.mejb.JMSNotificationListener
- All Implemented Interfaces:
- EventListener, JMSNotificationListenerMBean, ListenerMBean, javax.management.NotificationListener
- public class JMSNotificationListener
- extends Object
- implements JMSNotificationListenerMBean
Remote Listener using JMS to send the event
- Version:
- $Revision: 1.6 $
- 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
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 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
- 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 local listener
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.