org.jboss.resteasy.plugins.providers.jaxb.json
Class JsonJAXBContextFinder
java.lang.Object
org.jboss.resteasy.plugins.providers.jaxb.AbstractJAXBContextFinder
org.jboss.resteasy.plugins.providers.jaxb.json.JsonJAXBContextFinder
- All Implemented Interfaces:
- javax.ws.rs.ext.ContextResolver<JAXBContextFinder>, JAXBContextFinder
@Provider
public class JsonJAXBContextFinder
- extends AbstractJAXBContextFinder
- implements javax.ws.rs.ext.ContextResolver<JAXBContextFinder>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ws.rs.ext.ContextResolver |
getContext |
JsonJAXBContextFinder
public JsonJAXBContextFinder()
createContextObject
protected JAXBContext createContextObject(Annotation[] annotations,
Class... classes)
throws JAXBException
- Specified by:
createContextObject
in class AbstractJAXBContextFinder
- Throws:
JAXBException
createContextObject
protected JAXBContext createContextObject(Annotation[] annotations,
String contextPath)
throws JAXBException
- Specified by:
createContextObject
in class AbstractJAXBContextFinder
- Throws:
JAXBException
findCacheXmlTypeContext
public JAXBContext findCacheXmlTypeContext(javax.ws.rs.core.MediaType mediaType,
Annotation[] annotations,
Class... classes)
throws JAXBException
- Specified by:
findCacheXmlTypeContext
in interface JAXBContextFinder
- Throws:
JAXBException
findCachedContext
public JAXBContext findCachedContext(Class type,
javax.ws.rs.core.MediaType mediaType,
Annotation[] annotations)
throws JAXBException
- Specified by:
findCachedContext
in interface JAXBContextFinder
- Throws:
JAXBException
findCacheContext
public JAXBContext findCacheContext(javax.ws.rs.core.MediaType mediaType,
Annotation[] annotations,
Class... classes)
throws JAXBException
- Specified by:
findCacheContext
in interface JAXBContextFinder
- Throws:
JAXBException
find
protected JAXBContext find(Class<?> type,
javax.ws.rs.core.MediaType mediaType,
ConcurrentHashMap<Class<?>,JAXBContext> cache,
Mapped mapped,
BadgerFish badger)
throws JAXBException
- Throws:
JAXBException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.