org.jboss.resteasy.plugins.providers.jaxb.json
@Provider public class JsonJAXBContextFinder extends AbstractJAXBContextFinder implements javax.ws.rs.ext.ContextResolver<JAXBContextFinder>
AbstractJAXBContextFinder.CacheKey
OBJECT_FACTORY_NAME, providers
Constructor and Description |
---|
JsonJAXBContextFinder() |
Modifier and Type | Method and Description |
---|---|
protected JAXBContext |
createContextObject(Annotation[] annotations,
Class... classes) |
protected JAXBContext |
createContextObject(Annotation[] annotations,
String contextPath) |
protected JAXBContext |
find(Class<?> type,
javax.ws.rs.core.MediaType mediaType,
ConcurrentHashMap<Class<?>,JAXBContext> cache,
Mapped mapped,
BadgerFish badger) |
JAXBContext |
findCacheContext(javax.ws.rs.core.MediaType mediaType,
Annotation[] annotations,
Class... classes) |
JAXBContext |
findCachedContext(Class type,
javax.ws.rs.core.MediaType mediaType,
Annotation[] annotations) |
JAXBContext |
findCacheXmlTypeContext(javax.ws.rs.core.MediaType mediaType,
Annotation[] annotations,
Class... classes) |
createContext, createXmlTypeContext, findDefaultObjectFactoryClass, findProvidedJAXBContext, getContext, getPackageName
protected JAXBContext createContextObject(Annotation[] annotations, Class... classes) throws JAXBException
createContextObject
in class AbstractJAXBContextFinder
JAXBException
protected JAXBContext createContextObject(Annotation[] annotations, String contextPath) throws JAXBException
createContextObject
in class AbstractJAXBContextFinder
JAXBException
public JAXBContext findCacheXmlTypeContext(javax.ws.rs.core.MediaType mediaType, Annotation[] annotations, Class... classes) throws JAXBException
findCacheXmlTypeContext
in interface JAXBContextFinder
JAXBException
public JAXBContext findCachedContext(Class type, javax.ws.rs.core.MediaType mediaType, Annotation[] annotations) throws JAXBException
findCachedContext
in interface JAXBContextFinder
JAXBException
public JAXBContext findCacheContext(javax.ws.rs.core.MediaType mediaType, Annotation[] annotations, Class... classes) throws JAXBException
findCacheContext
in interface JAXBContextFinder
JAXBException
protected JAXBContext find(Class<?> type, javax.ws.rs.core.MediaType mediaType, ConcurrentHashMap<Class<?>,JAXBContext> cache, Mapped mapped, BadgerFish badger) throws JAXBException
JAXBException
Copyright © 2014. All Rights Reserved.