Package org.jppf.management.forwarding
Class ForwardingNotificationEvent
java.lang.Object
java.util.EventObject
org.jppf.management.forwarding.ForwardingNotificationEvent
- All Implemented Interfaces:
Serializable
Instances of this class represent events emitted each time a JMX notification is received from a node.
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionForwardingNotificationEvent(String nodeUuid, String mBeanName, Notification notification) Initialize this event. -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the MBean who emitted the notification.Get the the uuid of the node that emitted the event.Get the notification to dispatch.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ForwardingNotificationEvent
Initialize this event.- Parameters:
nodeUuid- the uuid of the node that emitted the event, used as event source.mBeanName- the name of the MBean who emitted the notification.notification- the notification to dispatch.
-
-
Method Details
-
getNodeUuid
Get the the uuid of the node that emitted the event.- Returns:
- the node uuid as a string.
-
getMBeanName
Get the name of the MBean who emitted the notification.- Returns:
- the MBean name as a string.
-
getNotification
Get the notification to dispatch.- Returns:
- a
Notificationinstance.
-