users@jersey.java.net

[Jersey] Re: Do Jersey have a way to detal with JAXB objects without @XmlRootElement?

From: Adam Walczak <me_at_adamwalczak.info>
Date: Thu, 23 Dec 2010 13:09:34 +0100

Hi,

May be you could do something by adjusting the JAXContext somehow with:

@Provider
public final class JAXBContextResolver implements ContextResolver<JAXBContext> {

  public JAXBContext getContext(Class<?> aClass) {
    ...
  }
}

?

-- 
Adam Walczak
www.adamwalczak.info
+48 604 188 992