org.jppf.logging.jmx
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 Summary |
JmxMessageNotifier()
Initialize this notifier with the default MBean name. |
JmxMessageNotifier(String name)
Initialize this notifier with the name of the MBean that will send the notifications. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
sendMessage
public void sendMessage(String message)
- Send the specified message via JMX.
- Parameters:
message - the message to send.
Copyright © 2005-2010 JPPF Team.