public abstract class AbstractNotificationDetector extends Object implements NotificationDetector
It will be fairly common for implementors of NotificatiorDetector to back the sender reference into an instance variable. This abstract class offers this for free.
| Constructor and Description |
|---|
AbstractNotificationDetector() |
| Modifier and Type | Method and Description |
|---|---|
NotificationSender |
getSender() |
void |
setSender(NotificationSender sender)
injection point for NotificationSender.
|
public NotificationSender getSender()
public void setSender(NotificationSender sender)
NotificationDetectorsetSender in interface NotificationDetectorsender - senderCopyright © 2017. All rights reserved.