Package org.apache.cxf.common.jaxb
Class JAXBContextCache
java.lang.Object
org.apache.cxf.common.jaxb.JAXBContextCache
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Return holder of the context, classes, etc... -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addPackage
(Set<Class<?>> classes, String pkg, ClassLoader loader) static void
Clear 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 void
scanPackages
(Set<Class<?>> classes)
-
Method Details
-
clearCaches
public static void clearCaches()Clear any caches to make sure new contexts are created -
scanPackages
-
getCachedContextAndSchemas
public static JAXBContextCache.CachedContextAndSchemas getCachedContextAndSchemas(Class<?>... cls) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
getCachedContextAndSchemas
public static JAXBContextCache.CachedContextAndSchemas getCachedContextAndSchemas(String pkg, Map<String, Object> props, ClassLoader loader) throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
getCachedContextAndSchemas
public static JAXBContextCache.CachedContextAndSchemas getCachedContextAndSchemas(Set<Class<?>> classes, String defaultNs, Map<String, Object> props, Collection<Object> typeRefs, boolean exact) throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
addPackage
-