public void setNotificationService(NotificationService notificationService) {
this.notificationService = notificationService;
}
+
public void setNotificationListener(NotificationListener notificationListener) {
this.notificationListener = notificationListener;
}
}
public void destroy() {
- if(registration != null) {
+ if (registration != null) {
LOG.debug("{}: destroy - closing ListenerRegistration {}", bundle.getSymbolicName(), notificationListener);
registration.close();
} else {