Package org.jppf.logging.jmx
Class JmxMessageNotifier
java.lang.Object
org.jppf.logging.jmx.JmxMessageNotifier
Instances of this class send messages as JMX notifications.
- Author:
- Laurent Cohen
-
Constructor Summary
ConstructorsConstructorDescriptionInitialize this notifier with the default MBean name.JmxMessageNotifier(String name) Initialize this notifier with the name of the MBean that will send the notifications. -
Method Summary
Modifier and TypeMethodDescriptionvoidsendMessage(String message) Send the specified message via JMX.
-
Constructor Details
-
JmxMessageNotifier
public JmxMessageNotifier()Initialize this notifier with the default MBean name. -
JmxMessageNotifier
Initialize this notifier with the name of the MBean that will send the notifications.- Parameters:
name- the name of MBean, following the conventions specified inObjectName.
-
-
Method Details
-
sendMessage
Send the specified message via JMX.- Parameters:
message- the message to send.
-