org.mc4j.ems.impl.jmx.connection.bean.notification
Class DNotification

java.lang.Object
  extended by org.mc4j.ems.impl.jmx.connection.bean.notification.DNotification

public class DNotification
extends java.lang.Object

Version:
$Revision: 570 $($Author: ghinkl $ / $Date: 2006-04-12 15:14:16 -0400 (Wed, 12 Apr 2006) $)
Author:
Greg Hinkle (ghinkle@users.sourceforge.net), Apr 4, 2005

Field Summary
protected  DMBean bean
           
protected  java.util.List<EmsNotificationEvent> events
           
protected  javax.management.MBeanNotificationInfo info
           
protected  java.util.Set<EmsNotificationListener> listeners
           
protected  org.mc4j.ems.impl.jmx.connection.bean.notification.DNotification.NotificationFilterImpl notificationFilter
           
protected  org.mc4j.ems.impl.jmx.connection.bean.notification.DNotification.NotificationListenerImpl notificationListener
           
protected  java.util.List<java.lang.String> notifTypes
           
 
Constructor Summary
DNotification(javax.management.MBeanNotificationInfo info, DMBean bean)
           
 
Method Summary
 void addNotificationListener(EmsNotificationListener listener)
           
 int compareTo(java.lang.Object o)
           
protected  void fireNotifications(EmsNotificationEvent event)
           
protected  EmsBean getBean()
           
 java.lang.String getDescription()
           
 java.util.List<EmsNotificationEvent> getEvents()
           
 java.lang.String getName()
           
 java.lang.String[] getTypes()
           
 boolean isListening()
           
 boolean removeNotificationListener(EmsNotificationListener listener)
           
 void startListening()
           
 void stopListening()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

protected javax.management.MBeanNotificationInfo info

bean

protected DMBean bean

notifTypes

protected java.util.List<java.lang.String> notifTypes

events

protected java.util.List<EmsNotificationEvent> events

listeners

protected java.util.Set<EmsNotificationListener> listeners

notificationListener

protected org.mc4j.ems.impl.jmx.connection.bean.notification.DNotification.NotificationListenerImpl notificationListener

notificationFilter

protected org.mc4j.ems.impl.jmx.connection.bean.notification.DNotification.NotificationFilterImpl notificationFilter
Constructor Detail

DNotification

public DNotification(javax.management.MBeanNotificationInfo info,
                     DMBean bean)
Method Detail

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

getTypes

public java.lang.String[] getTypes()

compareTo

public int compareTo(java.lang.Object o)

addNotificationListener

public void addNotificationListener(EmsNotificationListener listener)

removeNotificationListener

public boolean removeNotificationListener(EmsNotificationListener listener)

isListening

public boolean isListening()

startListening

public void startListening()

stopListening

public void stopListening()

getBean

protected EmsBean getBean()

getEvents

public java.util.List<EmsNotificationEvent> getEvents()

fireNotifications

protected void fireNotifications(EmsNotificationEvent event)