Package org.apache.cxf.common.jaxb
Class JAXBContextCache
- java.lang.Object
- 
- org.apache.cxf.common.jaxb.JAXBContextCache
 
- 
 public final class JAXBContextCache extends Object 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classJAXBContextCache.CachedContextAndSchemasReturn holder of the context, classes, etc...
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddPackage(Set<Class<?>> classes, String pkg, ClassLoader loader)static voidclearCaches()Clear any caches to make sure new contexts are createdstatic JAXBContextCache.CachedContextAndSchemasgetCachedContextAndSchemas(Class<?>... cls)static JAXBContextCache.CachedContextAndSchemasgetCachedContextAndSchemas(String pkg, Map<String,Object> props, ClassLoader loader)static JAXBContextCache.CachedContextAndSchemasgetCachedContextAndSchemas(Set<Class<?>> classes, String defaultNs, Map<String,Object> props, Collection<Object> typeRefs, boolean exact)static voidscanPackages(Set<Class<?>> classes)
 
- 
- 
- 
Method Detail- 
clearCachespublic static void clearCaches() Clear any caches to make sure new contexts are created
 - 
getCachedContextAndSchemaspublic static JAXBContextCache.CachedContextAndSchemas getCachedContextAndSchemas(Class<?>... cls) throws javax.xml.bind.JAXBException - Throws:
- javax.xml.bind.JAXBException
 
 - 
getCachedContextAndSchemaspublic static JAXBContextCache.CachedContextAndSchemas getCachedContextAndSchemas(String pkg, Map<String,Object> props, ClassLoader loader) throws javax.xml.bind.JAXBException - Throws:
- javax.xml.bind.JAXBException
 
 - 
getCachedContextAndSchemaspublic 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
 
 - 
addPackagepublic static void addPackage(Set<Class<?>> classes, String pkg, ClassLoader loader) 
 
- 
 
-