private void checkUndefinedNotification ( Notification notification ) { String type = notification . getType ( ) ; PathAddress source = notification . getSource ( ) ; Map < String , NotificationEntry > descriptions = getRootResourceRegistration ( ) . getNotificationDescriptions ( source , true ) ; if ( ! descriptions . keySet ( ) . contains ( type ) ) { missingNotificationDescriptionWarnings . add ( ControllerLogger . ROOT_LOGGER . notificationIsNotDescribed ( type , source ) ) ; } }
Check that each emitted notification is properly described by its source .