|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.technicalconnector.utils.impl.JaxbContextFactory
public final class JaxbContextFactory
JaxbContextFactory.
| Field Summary | |
|---|---|
static String |
PROP_CACHE_TYPE
Deprecated. not longer used |
| Method Summary | |
|---|---|
static JAXBContext |
getJaxbContextForClass(Class<?>... classesToBeBound)
|
static JAXBContext |
getJaxbContextForPackage(Package pack)
|
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 |
initJaxbContext(Package packageInstance)
Create a JAXBContext with all the classes in the provided Package. |
static void |
reset()
Method to clear the cached instances. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Deprecated public static final String PROP_CACHE_TYPE
JaxbContextFactory.
Possible values are package and classname. The Default value is classname.
| Method Detail |
|---|
public static void initJaxbContext(Package packageInstance)
Package.
packageInstance -
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 getJaxbContextForPackage(Package pack)
public static JAXBContext getJaxbContextForClass(Class<?>... classesToBeBound)
throws JAXBException
JAXBExceptionpublic static void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||