|
MySnmpCrawler API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--snmp.mbean.listener.MBeanListener | +--snmp.mbean.listener.DefaultMBeanListener
This class receives the AttributeChangeNotification, MBeanServerNotification, MonitorNotification, RelationNotification, TimerAlarmClockNotification, TimerNotification, and TraceNotification objects. The subclass can override the appropriate methods to receive the notifications.
Constructor Summary | |
DefaultMBeanListener()
The default constructorr. |
Method Summary | |
void |
handleAttributeChangeNotification(javax.management.AttributeChangeNotification notification)
Handles attribute change notification. |
void |
handleMBeanServerNotification(javax.management.MBeanServerNotification notification)
Handles MBeanServer notification. |
void |
handleMonitorNotification(javax.management.monitor.MonitorNotification notification)
Handles Monitor notification. |
void |
handleNotification(javax.management.Notification notification,
java.lang.Object handback)
Receives the MBean related notification. |
void |
handleRelationNotification(javax.management.relation.RelationNotification notification)
Handles Relation notification. |
void |
handleTimerAlarmClockNotification(javax.management.timer.TimerAlarmClockNotification notification)
Handles TimerAlarmClock notification. |
void |
handleTimerNotification(javax.management.timer.TimerNotification notification)
Handles Timer notification. |
void |
handleTraceNotification(com.sun.jdmk.TraceNotification notification)
Handles Trace notification. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultMBeanListener()
Method Detail |
public void handleNotification(javax.management.Notification notification, java.lang.Object handback)
handleNotification
in interface javax.management.NotificationListener
handleNotification
in class MBeanListener
notification
- The received notification.handback
- An opaque object which helps the listener
to associate information regarding the MBean
emitter.public void handleAttributeChangeNotification(javax.management.AttributeChangeNotification notification)
notification
- The notification.public void handleMBeanServerNotification(javax.management.MBeanServerNotification notification)
notification
- The notification.public void handleMonitorNotification(javax.management.monitor.MonitorNotification notification)
notification
- The notification.public void handleRelationNotification(javax.management.relation.RelationNotification notification)
notification
- The notification.public void handleTimerAlarmClockNotification(javax.management.timer.TimerAlarmClockNotification notification)
notification
- The notification.public void handleTimerNotification(javax.management.timer.TimerNotification notification)
notification
- The notification.public void handleTraceNotification(com.sun.jdmk.TraceNotification notification)
notification
- The notification.
|
MySnmpCrawler API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |