Defines a Listener for the web application.
A listener is notified about various events, such as application or session events.
All listeners are defined the same way. Their function depends on which interface(s) they implement.