|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.snmpadaptor4j.core.JmxNotificationManager
public class JmxNotificationManager
Object responsible of:
| Nested Class Summary | |
|---|---|
protected class |
JmxNotificationManager.Listener
JMX notification listener. |
| Field Summary | |
|---|---|
protected Map<ObjectName,JmxNotificationManager.Listener> |
listenerMap
Map of JMX notification listener for each registered MBean. |
protected org.apache.log4j.Logger |
logger
Logger. |
| Constructor Summary | |
|---|---|
JmxNotificationManager(SnmpManagers managers,
SystemInfo systemInfo)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
handleNotification(SnmpTrapBuilder trapBuilder,
Notification notification)
Handles a JMX notification from an MBean. |
boolean |
isEnabled()
Returns TRUE to handle notifications, or FALSE to ignore. |
void |
setEnabled(boolean enabled)
Sets TRUE to handle notifications, or FALSE to ignore. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.log4j.Logger logger
protected final Map<ObjectName,JmxNotificationManager.Listener> listenerMap
| Constructor Detail |
|---|
public JmxNotificationManager(SnmpManagers managers,
SystemInfo systemInfo)
managers - SNMP managers on the network to which SNMP traps should be sent (must not be NULL).systemInfo - Informations on the system.| Method Detail |
|---|
public final boolean isEnabled()
TRUE to handle notifications, or FALSE to ignore.
TRUE to handle notifications.public void setEnabled(boolean enabled)
TRUE to handle notifications, or FALSE to ignore.
enabled - TRUE to handle notifications.
protected final void handleNotification(SnmpTrapBuilder trapBuilder,
Notification notification)
trapBuilder - Builder of SNMP traps from JMX notifications for an MBean.notification - JMX notification.public final String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||