Atmosphere/atmosphere-extensions — pull request #145 by tfukushima (2014-05-15 15:55:30+00:00)
Title: Add AtmosphereJerseyServletModule for Jersey context propriders

This patch adds AtmosphereJerseyServletModule which is identical to
com.sun.jersey.guice.JerseyServletModule except that it uses
Atmosphere's GuiceContainer instead of Jersey's GuiceContainer.

Because AtmosphereGuiceServlet gets Atmosphere's GuceContainer, if
Jersey resource classes depend on the context provided by Jersey's
GuiceContainer they get NullPointerException when their instantiations.
So we need AtmosphereJerseyServletModule equivalent to
JerseyServletModule.

This fixes #144.

Signed-off-by: Taku Fukushima