org.glassfish.jersey.examples.jsonp
Class JaxbContextResolver

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

@Provider
public final class JaxbContextResolver
extends Object
implements ContextResolver<JAXBContext>

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

Constructor Summary
JaxbContextResolver()
           
 
Method Summary
 JAXBContext getContext(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 Exception
Throws:
Exception
Method Detail

getContext

public JAXBContext getContext(Class<?> objectType)
Specified by:
getContext in interface ContextResolver<JAXBContext>


Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.