gov.nasa.pds.registry
Class JSONContextResolver

java.lang.Object
  extended by gov.nasa.pds.registry.JSONContextResolver
All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<JAXBContext>

@Provider
@Component
public final class JSONContextResolver
extends Object
implements javax.ws.rs.ext.ContextResolver<JAXBContext>


Constructor Summary
JSONContextResolver()
           
 
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

JSONContextResolver

public JSONContextResolver()
                    throws Exception
Throws:
Exception
Method Detail

getContext

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


Copyright © 2005-2010 Planetary Data System. All Rights Reserved.