public final class JaxbContextFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static JAXBContext |
getJaxbContextForClass(Class<?>... classesToBeBound) |
static void |
initJaxbContext(Class<?>... classesToBeBound)
Create a JAXBContext with all the referenced classes in input.
|
static void |
initJaxbContext(Class<?> keyClass,
boolean override,
Class<?>... classesToBeBound)
Create a JAXBContext with all the referenced classes in classesToBeBound.
|
static void |
reset()
Method to clear the cached instances.
|
public static void initJaxbContext(Class<?> keyClass, boolean override, Class<?>... classesToBeBound)
keyClass - the context cache keyoverride - true if the context must be refreshed in the cache, false otherwiseclassesToBeBound - the classes to be put in the jaxb context for the given keyClasspublic static void initJaxbContext(Class<?>... classesToBeBound)
classesToBeBound - public static JAXBContext getJaxbContextForClass(Class<?>... classesToBeBound) throws JAXBException
JAXBExceptionpublic static void reset()
Connector Packaging TECHNICAL 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.