dev@jersey.java.net

Programmatic API for configuring Jersey's ServletContainer

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 21 Sep 2009 13:01:32 -0400

Salut,

you it be possible to add an API that allow frameworks like Atmosphere
and Akka to programmatically configure Jersey's internal? Right now in
Atmosphere I need to ask my user to add, in web.xml:

> <init-param>
> <param-name>com.sun.jersey.spi.container.ResourceFilters</param-name>
> <param-value>org.atmosphere.core.AtmosphereFilter</param-value>
> </init-param>

Since all applications requires this, I would prefer being able to do it
inside the Atmosphere code itself.

Maybe it is already doable and I've missed it?

Thanks!

-- Jeanfrancois