diff options
Diffstat (limited to 'asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCNotificationCallBack.java')
-rw-r--r-- | asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCNotificationCallBack.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCNotificationCallBack.java b/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCNotificationCallBack.java index 876c5e164f..48ae2f145d 100644 --- a/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCNotificationCallBack.java +++ b/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCNotificationCallBack.java @@ -37,19 +37,18 @@ import org.springframework.stereotype.Component; @Component public final class ASDCNotificationCallBack implements INotificationCallback { - @Autowired + @Autowired private ASDCController asdcController; - + protected static final Logger logger = LoggerFactory.getLogger(ASDCNotificationCallBack.class); /** - * This method can be called multiple times at the same moment. - * The controller must be thread safe ! + * This method can be called multiple times at the same moment. The controller must be thread safe ! */ @Override - public void activateCallback (INotificationData iNotif) { - String event = "Receive a callback notification in ASDC, nb of resources: " + iNotif.getResources ().size (); + public void activateCallback(INotificationData iNotif) { + String event = "Receive a callback notification in ASDC, nb of resources: " + iNotif.getResources().size(); logger.debug(event); - asdcController.treatNotification (iNotif); + asdcController.treatNotification(iNotif); } } |