org.jboss.jmx.connector.notification
Class ClientNotificationListener

java.lang.Object
  extended byorg.jboss.jmx.connector.notification.ClientNotificationListener
Direct Known Subclasses:
JMSClientNotificationListener, PollingClientNotificationListener, RMIClientNotificationListener, SearchClientNotificationListener

public abstract class ClientNotificationListener
extends Object

Basic Local Listener to receive Notification from a remote JMX Agent

Version:
$Revision: 1.3 $
Author:
Andreas "Mad" Schaefer

Field Summary
protected  org.jboss.logging.Logger log
           
protected  javax.management.NotificationListener mClientListener
           
protected  Object mHandback
           
 
Constructor Summary
ClientNotificationListener(javax.management.ObjectName pSender, javax.management.NotificationListener pClientListener, Object pHandback)
           
 
Method Summary
 void addNotificationListener(RemoteMBeanServer pConnector, javax.management.NotificationFilter pFilter)
           
 javax.management.ObjectName createListener(RemoteMBeanServer pConnector, String mClass, Object[] pParameters, String[] pSignatures)
           
 boolean equals(Object pTest)
           
 javax.management.ObjectName getRemoteListenerName()
           
 javax.management.ObjectName getSenderMBean()
           
 void removeNotificationListener(RemoteMBeanServer pConnector)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.jboss.logging.Logger log

mClientListener

protected javax.management.NotificationListener mClientListener

mHandback

protected Object mHandback
Constructor Detail

ClientNotificationListener

public ClientNotificationListener(javax.management.ObjectName pSender,
                                  javax.management.NotificationListener pClientListener,
                                  Object pHandback)
Method Detail

createListener

public javax.management.ObjectName createListener(RemoteMBeanServer pConnector,
                                                  String mClass,
                                                  Object[] pParameters,
                                                  String[] pSignatures)
                                           throws javax.management.MalformedObjectNameException,
                                                  javax.management.ReflectionException,
                                                  javax.management.MBeanRegistrationException,
                                                  javax.management.MBeanException,
                                                  javax.management.NotCompliantMBeanException
Throws:
javax.management.MalformedObjectNameException
javax.management.ReflectionException
javax.management.MBeanRegistrationException
javax.management.MBeanException
javax.management.NotCompliantMBeanException

addNotificationListener

public void addNotificationListener(RemoteMBeanServer pConnector,
                                    javax.management.NotificationFilter pFilter)
                             throws javax.management.InstanceNotFoundException
Throws:
javax.management.InstanceNotFoundException

removeNotificationListener

public void removeNotificationListener(RemoteMBeanServer pConnector)
                                throws javax.management.InstanceNotFoundException
Throws:
javax.management.InstanceNotFoundException

getSenderMBean

public javax.management.ObjectName getSenderMBean()

getRemoteListenerName

public javax.management.ObjectName getRemoteListenerName()

equals

public boolean equals(Object pTest)


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