Class JPPFNodeForwardingNotification

java.lang.Object
java.util.EventObject
javax.management.Notification
org.jppf.management.forwarding.JPPFNodeForwardingNotification
All Implemented Interfaces:
Serializable

public class JPPFNodeForwardingNotification extends Notification
Instances of this notification class wrap any JMX notification received from a node. They provide additional information to allow users to know from which node and which MBean the notification was emitted.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • JPPFNodeForwardingNotification

      public JPPFNodeForwardingNotification(Notification notification, String nodeUuid, String mBeanName)
      Initialize this notification with the actual node notification that was received.
      Parameters:
      notification - the notification to forward.
      nodeUuid - the uuid of the originating node.
      mBeanName - name of the originating MBean in the node.
  • Method Details

    • getNotification

      public Notification getNotification()
      Get the actual notification forwarded from the node.
      Returns:
      an instance of Notification.
    • getNodeUuid

      public String getNodeUuid()
      Get the uuid of the originating node.
      Returns:
      the node uuid as a string.
    • getMBeanName

      public String getMBeanName()
      Get the name of the originating MBean in the node.
      Returns:
      the MBean name as a string.
    • toString

      public String toString()
      Overrides:
      toString in class Notification