Package org.jppf.management.forwarding
Interface ForwardingNotificationListener
- All Superinterfaces:
EventListener,NotificationListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Convenience interface to use in place of
NotificationListener when regstering a notification listener
that receives notifications from a NodeForwardingMBean.- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidhandleNotification(Notification notification, Object handback) voidhandleNotification(JPPFNodeForwardingNotification notification, Object handback) Called when aJPPFNodeForwardingNotificationoccurs.
-
Method Details
-
handleNotification
- Specified by:
handleNotificationin interfaceNotificationListener
-
handleNotification
Called when aJPPFNodeForwardingNotificationoccurs.- Parameters:
notification- the notification to handle.handback- an opaque object which helps the listener to associate information regarding the MBean emitter.
-