Package org.jppf.management.forwarding
Interface ForwardingNotficationEmitter
- All Known Subinterfaces:
JPPFNodeForwardingMBean,NodeForwardingMBean
public interface ForwardingNotficationEmitter
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionregisterForwardingNotificationListener(NodeSelector selector, String mBeanName) Register a listener with the specified node selector and MBean.voidunregisterForwardingNotificationListener(String listenerID) Unregister the specified listener.
-
Method Details
-
registerForwardingNotificationListener
String registerForwardingNotificationListener(NodeSelector selector, String mBeanName) throws IllegalArgumentException Register a listener with the specified node selector and MBean.- Parameters:
selector- the node slector to apply to the listener.mBeanName- the name of the node mbeans to receive notifications from.- Returns:
- a unique id for the listener.
- Throws:
IllegalArgumentException- ifselectorormBeanNameis null.
-
unregisterForwardingNotificationListener
Unregister the specified listener.- Parameters:
listenerID- the ID of the listener to unregister.- Throws:
ListenerNotFoundException- if the listener could not be found.
-