users@jersey.java.net

[Jersey] Re: How to configure custom providers/resources using ResourceConfig

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Mon, 01 Aug 2011 15:39:34 +0200

Hi,

you should be using PackagesResourceConfig (see [1]) instead.

~Jakub

[1]http://jersey.java.net/nonav/apidocs/latest/jersey/com/sun/jersey/api/core/PackagesResourceConfig.html

On 29.7.2011 23:44, charlesk wrote:
> Is there any example code that configures the follow property using
> ResourceConfig?
> I'm using the DefaultResourceConfig.
> Thanks.
>
> <init-param>
> <param-name>com.sun.jersey.config.property.packages</param-name>
> <param-value>your.app.pkg</param-value>
> </init-param>
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/How-to-configure-custom-providers-resources-using-ResourceConfig-tp6635080p6635080.html
> Sent from the Jersey mailing list archive at Nabble.com.
>