org.eclipse.higgins.sync.ws.rest
Class JAXBContextResolver

java.lang.Object
  extended by org.eclipse.higgins.sync.ws.rest.JAXBContextResolver
All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>

@Provider
public class JAXBContextResolver
extends Object
implements javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>

Implements JAXB ContextResolver.

Author:
Alexander Yuhimenko
See Also:
https://jersey.dev.java.net/servlets/ReadMsg?list=users&msgNo=555

Constructor Summary
JAXBContextResolver()
           
 
Method Summary
 javax.xml.bind.JAXBContext getContext(Class<?> objectType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBContextResolver

public JAXBContextResolver()
                    throws Exception
Throws:
Exception
Method Detail

getContext

public javax.xml.bind.JAXBContext getContext(Class<?> objectType)
Specified by:
getContext in interface javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>