org.glassfish.jersey.examples.jsonp
Class JaxbContextResolver

java.lang.Object
  extended by org.glassfish.jersey.examples.jsonp.JaxbContextResolver
All Implemented Interfaces:
ContextResolver<javax.xml.bind.JAXBContext>

@Provider
public final class JaxbContextResolver
extends java.lang.Object
implements ContextResolver<javax.xml.bind.JAXBContext>

Author:
Jakub Podlesak (jakub.podlesak at oracle.com)

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

Constructor Detail

JaxbContextResolver

public JaxbContextResolver()
                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getContext

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


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.