Package org.jppf.management
Class NodeConfigNotifier
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.jppf.management.NodeConfigNotifier
- All Implemented Interfaces:
Serializable,NotificationBroadcaster,NotificationEmitter,org.jppf.management.NodeConfigNotifierMBean
public class NodeConfigNotifier
extends NotificationBroadcasterSupport
implements org.jppf.management.NodeConfigNotifierMBean
This MBean notifies any listener of changes to the number of threads of a node.
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from interface org.jppf.management.NodeConfigNotifierMBean
MBEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendNotification(String nodeUuid, org.jppf.utils.TypedProperties configuration) Send a notification of changes in the configuration.Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListenerMethods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
-
Constructor Details
-
NodeConfigNotifier
public NodeConfigNotifier(org.jppf.node.Node node) - Parameters:
node- the node holding this MBean.
-
-
Method Details
-
sendNotification
Send a notification of changes in the configuration.- Parameters:
nodeUuid- the uuid of the node, sent as the notification source.configuration- the changed configuration.
-