Package org.apache.cxf.ws.addressing
Class ContextJAXBUtils
java.lang.Object
org.apache.cxf.ws.addressing.ContextJAXBUtils
Holder for utility methods relating to contexts, allows to lazily load JAXB compared to ContextUtils.
- 
Method SummaryModifier and TypeMethodDescriptionstatic jakarta.xml.bind.JAXBContextRetrieve a JAXBContext for marshalling and unmarshalling JAXB generated types.static voidsetJAXBContext(jakarta.xml.bind.JAXBContext ctx) Set the encapsulated JAXBContext (used by unit tests).
- 
Method Details- 
getJAXBContextpublic static jakarta.xml.bind.JAXBContext getJAXBContext() throws jakarta.xml.bind.JAXBExceptionRetrieve a JAXBContext for marshalling and unmarshalling JAXB generated types.- Returns:
- a JAXBContext
- Throws:
- jakarta.xml.bind.JAXBException
 
- 
setJAXBContextpublic static void setJAXBContext(jakarta.xml.bind.JAXBContext ctx) Set the encapsulated JAXBContext (used by unit tests).- Parameters:
- ctx- JAXBContext
 
 
-