dev@jersey.java.net

Root resources and ASM scanner

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 02 Nov 2007 15:08:57 +0100

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.

This is not causing any issues because the runtime ignores any
registered classes that are not root resources.

Paul.

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