Re: JSR311: Re: ContextResolver removal

From: Bill Burke <>
Date: Tue, 10 Jun 2008 10:57:30 -0400

Stephan Koops wrote:
> Hi Marc,
>> One thing we could consider is to make the JAXBContext usage more
>> obvious.
> I have also to say that I need time to understand what the
> ContextResolver is for. You could add some javadoc, that an example use
> is for JAXBContext.

Question: Is the container supposed to search for and use
@ProduceMime/_at_ConsumeMime annotations on a ContextResolver?

Makes sense that you might want to have different JAXBContext for the
same type and different mime format. (A Jettison enabled/configured
JAXBContext for JSON for example).

Bill Burke
JBoss, a division of Red Hat