Add ResourceListener class, add event listener in event-listener-contrib.xml, Add code to produce the 'resourceDownloaded" event in the resourceUpdateService.