users@jersey.java.net

[Jersey] Re: component scan

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Mon, 17 Jan 2011 17:19:38 +0100

Hello,

its not a class, its just property name defined in
PackagesResourceConfig class (package com.sun.jersey.api.core,
jersey-server module).

its used in helloworld or helloworld-webapp samples, so you might want
to look at them [1] [2]

Pavel

[1]
http://download.java.net/maven/2/com/sun/jersey/samples/helloworld/1.5/helloworld-1.5-project.zip
[2]
http://download.java.net/maven/2/com/sun/jersey/samples/helloworld-webapp/1.5/helloworld-webapp-1.5-project.zip


On 1/17/11 4:38 PM, fyao wrote:
> I'm using Jersey 1.4v. In the doc of Jersey said that you can use
> com.sun.jersey.config.property.packages as Init-Param to identify the your
> resources packages in your application. How come I cannot find this class at
> all in the Jersey package?
>
> Matter of the fact, it doesn't have com.sun.jersey.config package.
>
> Thanks