dev@jersey.java.net

Re: Root resources and ASM scanner

From: Frank Martínez <mnesarco_at_gmail.com>
Date: Fri, 2 Nov 2007 14:11:57 -0500

Hi Paul,

On 11/2/07, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
> Hi Frank,
>
> The ASM scanner is picking up resource classes that are not root
> resource classes.
>
> A root resource class is a class that is annotated with @UriTemplate. So
> there is no need for the scanner to look for @UriTemplate and
> @HttpMethod on methods. However the scanner should search for inner
> public static classes annotated with @UriTemplate.
>
> Paul.
>

Fixed. Commited.

Frank.

-- 
Frank D. Martínez M.
Asimov Technologies Ltda.
Blog: http://www.ibstaff.net/fmartinez/