org.kie.remote.services.rest.jaxb
Class JaxbContextResolver
java.lang.Object
org.kie.remote.services.rest.jaxb.JaxbContextResolver
- All Implemented Interfaces:
- javax.ws.rs.ext.ContextResolver<JAXBContext>
@Provider
public class JaxbContextResolver
- extends Object
- implements javax.ws.rs.ext.ContextResolver<JAXBContext>
We use this class in order to use (user) classes from Kjar deployments in serialization.
Users may send inputs to the REST API that contain instances of these classes as parameters to KieSession operations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxbContextResolver
public JaxbContextResolver()
getContext
public JAXBContext getContext(Class<?> type)
- Specified by:
getContext in interface javax.ws.rs.ext.ContextResolver<JAXBContext>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.