Class JmxMessageNotifier

java.lang.Object
org.jppf.logging.jmx.JmxMessageNotifier

public class JmxMessageNotifier extends Object
Instances of this class send messages as JMX notifications.
Author:
Laurent Cohen
  • Constructor Details

    • JmxMessageNotifier

      public JmxMessageNotifier()
      Initialize this notifier with the default MBean name.
    • JmxMessageNotifier

      public JmxMessageNotifier(String name)
      Initialize this notifier with the name of the MBean that will send the notifications.
      Parameters:
      name - the name of MBean, following the conventions specified in ObjectName.
  • Method Details

    • sendMessage

      public void sendMessage(String message)
      Send the specified message via JMX.
      Parameters:
      message - the message to send.