codahale/dropwizard — pull request #26 by tinkerware (2012-02-10 02:39:52+00:00)
Title: More support for servlet listeners

Both servlet context and servlet request listeners can now be added to a Dropwizard environment during service initialization.

The closest supertype is EventListener and it seemed too much to add four different `addXXX` methods to environment, so there's instead one `addServletListener(EventListener... listeners)` method that can take an arbitrary number and type of servlet event listeners.