users@jsr311.java.net

Re: MessageBodyWriter and annotations

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Mon, 30 Jun 2008 17:46:42 +0200

+1, because it reduces missunderstandings

best regards
   Stephan
>>>> I think ever the ones of the resource method -> @AnnotationA.
>>>> Perhaps it is not clear enough.
>>> Annotations from the type returned, not the method returning the type.
>> Why should the runtime inject the annotations of the class? The class
>> is available, so the runtime is not required to inject them. If this
>> is meant, we could IMO remove the Annotation[] parameter.
> We could remove that parameter. I guess its mainly there for symmetry
> with MessageBodyReader - is this a big deal ?