be.ehealth.technicalconnector.utils.impl
Class JaxbContextFactory

java.lang.Object
  extended by be.ehealth.technicalconnector.utils.impl.JaxbContextFactory

public final class JaxbContextFactory
extends Object

JaxbContextFactory.


Field Summary
static String PROP_CACHE_TYPE
          Deprecated. 
 
Method Summary
static JAXBContext getJaxbContextForClass(Class<?>... classesToBeBound)
           
static JAXBContext getJaxbContextForPackage(Package pack)
           
static void initJaxbContext(Class<?>... classesToBeBound)
           
static void initJaxbContext(Package packageInstance)
           
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

PROP_CACHE_TYPE

@Deprecated
public static final String PROP_CACHE_TYPE
Deprecated. 
Property to change the type of cache that can be used by the JaxbContextFactory.

Possible values are package and classname. The Default value is classname.

See Also:
Constant Field Values
Method Detail

initJaxbContext

public static void initJaxbContext(Package packageInstance)

initJaxbContext

public static void initJaxbContext(Class<?>... classesToBeBound)

getJaxbContextForPackage

public static JAXBContext getJaxbContextForPackage(Package pack)

getJaxbContextForClass

public static JAXBContext getJaxbContextForClass(Class<?>... classesToBeBound)
                                          throws JAXBException
Throws:
JAXBException

reset

public static void reset()
Method to clear the cached instances.




Connector Business ORGPHARMACY 3.13.1 API
Copyright © {inceptionYear}-2017 eHealth. All Rights Reserved.