users@jersey.java.net

_at_Context annotated field in spring bean with prototype scope.

From: Erick Dovale <edovale_at_gmail.com>
Date: Fri, 30 Jan 2009 09:34:11 -0500

Folks,
I can't get jersey to inject the HttpHeaders instance in a @Provider
annotated entity provider (MessageBodyWriter) which is a spring managed bean
with scope prototype.
The bean is defined in a spring context and jersey is successfully
discovering it, however, jersey fails to inject the HttpHeaders instance.
Has anyone had a similar problem before?

Thanks.

Erick.