In the message body reader/writer matching algorithm add an additional
sort so that template variables take precedence. For example
@Produces("application/xml")
public class FooWriter implements MessageBodyWriter<Foo> {...}
takes precedence over:
@Produces("application/xml")
public class JaxbWriter implements MessageBodyWriter {...}
Users may want to override the default JAXB (or other) provider for a
specific java type.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com