Package org.apache.cxf.common.jaxb
Class JAXBContextCache
java.lang.Object
org.apache.cxf.common.jaxb.JAXBContextCache
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classReturn holder of the context, classes, etc...
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddPackage(Set<Class<?>> classes, String pkg, ClassLoader loader) static voidClear any caches to make sure new contexts are createdgetCachedContextAndSchemas(Class<?>... cls) getCachedContextAndSchemas(String pkg, Map<String, Object> props, ClassLoader loader) getCachedContextAndSchemas(Set<Class<?>> classes, String defaultNs, Map<String, Object> props, Collection<Object> typeRefs, boolean exact) static voidscanPackages(Set<Class<?>> classes) 
- 
Method Details- 
clearCachespublic static void clearCaches()Clear any caches to make sure new contexts are created
- 
scanPackages
- 
getCachedContextAndSchemaspublic static JAXBContextCache.CachedContextAndSchemas getCachedContextAndSchemas(Class<?>... cls) throws jakarta.xml.bind.JAXBException - Throws:
- jakarta.xml.bind.JAXBException
 
- 
getCachedContextAndSchemaspublic static JAXBContextCache.CachedContextAndSchemas getCachedContextAndSchemas(String pkg, Map<String, Object> props, ClassLoader loader) throws jakarta.xml.bind.JAXBException- Throws:
- jakarta.xml.bind.JAXBException
 
- 
getCachedContextAndSchemaspublic static JAXBContextCache.CachedContextAndSchemas getCachedContextAndSchemas(Set<Class<?>> classes, String defaultNs, Map<String, Object> props, Collection<Object> typeRefs, boolean exact) throws jakarta.xml.bind.JAXBException- Throws:
- jakarta.xml.bind.JAXBException
 
- 
addPackage
 
-