It would be nice if there was a small code sample on how to add the `ApplicationEventListener` to Jersey 2.