dev@jsr311.java.net

Re: JSR311: _at_Target of FIELD for _at_*Param annotations

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Fri, 07 Mar 2008 19:49:39 +0100

Hi Marc,

Marc Hadley schrieb:
> It would bother me if we added new targets but didn't define what
> should happen if a developer uses those targets. E.g. if we added
> FIELD as a target for @PathParam then I think we'd have to require
> implementations to support that annotation on resource class fields.
> That's fine for the per-request resource life cycle but what about
> singleton resources...
@*Param could be used the same as @Context. Also @Context is not useful
on the providers (or which singeltons do you mean?)

regards
   Stephan