Package org.apache.cxf.common.jaxb
Class JAXBContextCache.CachedContextAndSchemas
java.lang.Object
org.apache.cxf.common.jaxb.JAXBContextCache.CachedContextAndSchemas
- Enclosing class:
- JAXBContextCache
Return holder of the context, classes, etc...
Do NOT hold onto these strongly as that can lock the JAXBContext and Set objects
into memory. It preferred to grab the context and classes (if needed) from this object
immediately after the call to getCachedContextAndSchemas and then discard it. The
main purpose of this class is to hold onto the context/set strongly until the caller
has a chance to copy those into a place where they can hold onto it strongly as
needed.
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.bind.JAXBContext
void
setSchemas
(Collection<DOMSource> schemas)
-
Method Details
-
getContext
public jakarta.xml.bind.JAXBContext getContext() -
getClasses
-
getSchemas
-
setSchemas
-