com.caucho.management.server
Class AbstractEmitterObject

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.management.server.AbstractEmitterObject
All Implemented Interfaces:
ManagedObjectMXBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
Direct Known Subclasses:
ServerAdmin

public abstract class AbstractEmitterObject
extends AbstractManagedObject
implements javax.management.NotificationEmitter

Managed object which is a notification emitter.


Constructor Summary
protected AbstractEmitterObject()
           
protected AbstractEmitterObject(java.lang.ClassLoader loader)
           
 
Method Summary
 void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
           
 javax.management.MBeanNotificationInfo[] getNotificationInfo()
           
protected  void handleNotification(javax.management.Notification notification)
           
 void removeNotificationListener(javax.management.NotificationListener listener)
           
 void removeNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
           
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getName, getObjectName, getType, registerSelf, toString, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractEmitterObject

protected AbstractEmitterObject()

AbstractEmitterObject

protected AbstractEmitterObject(java.lang.ClassLoader loader)
Method Detail

getNotificationInfo

public javax.management.MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface javax.management.NotificationBroadcaster

addNotificationListener

public void addNotificationListener(javax.management.NotificationListener listener,
                                    javax.management.NotificationFilter filter,
                                    java.lang.Object handback)
                             throws java.lang.IllegalArgumentException
Specified by:
addNotificationListener in interface javax.management.NotificationBroadcaster
Throws:
java.lang.IllegalArgumentException

removeNotificationListener

public void removeNotificationListener(javax.management.NotificationListener listener)
Specified by:
removeNotificationListener in interface javax.management.NotificationBroadcaster

removeNotificationListener

public void removeNotificationListener(javax.management.NotificationListener listener,
                                       javax.management.NotificationFilter filter,
                                       java.lang.Object handback)
Specified by:
removeNotificationListener in interface javax.management.NotificationEmitter

handleNotification

protected void handleNotification(javax.management.Notification notification)