users@jersey.java.net

Re: [Jersey] Configure wadl generation

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 28 Jul 2008 10:58:36 +0200

Hi Martin,

Can this property be declared as property using ResourceConfig?

The WADL code can get the ResourceConfig instance and get the
"com.sun.jersey.config.property.wadlGeneratorConfigClass" from that.

Such properties will also work when declared as Servlet init-params.

Paul.

Martin Grotzke wrote:
> Hi Paul,
>
> I want to add some WadlGenerationConfiguration to jersey, so that one
> can configure the wadl-generation stuff like the maven-wadl-plugin.
> There should be some property like
>
> com.sun.jersey.config.property.wadlGeneratorConfigClass
>
> that allows the user to specify some class, that provides the required
> configuration properties.
>
> I would have a look at how PackagesResourceConfig is used. Do you have
> another thing that provides a good start for this?
>
> Cheers,
> Martin
>
>

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109