ch.elca.el4j.services.remoting.jaxb.hibernate
Class JAXBContextFactoryImpl

java.lang.Object
  extended by ch.elca.el4j.services.remoting.jaxb.hibernate.JAXBContextFactoryImpl
All Implemented Interfaces:
com.sun.xml.ws.developer.JAXBContextFactory

public class JAXBContextFactoryImpl
extends Object
implements com.sun.xml.ws.developer.JAXBContextFactory

A customized JAXBContext that enables the JAXBRIContext.XMLACCESSORFACTORY_SUPPORT in order to getting rid of the LazyInitializationException when using JAXB together with Hibernate.

Author:
Do Phuong Hoang (PHD)
File-location:
JAXBContextFactoryImpl
Last check-in date:
2009-10-16 09:31:52 +0200 (Fr, 16. Okt 2009) by swismer for revision 3945

Field Summary
 
Fields inherited from interface com.sun.xml.ws.developer.JAXBContextFactory
DEFAULT
 
Constructor Summary
JAXBContextFactoryImpl()
           
 
Method Summary
 com.sun.xml.bind.api.JAXBRIContext createJAXBContext(com.sun.xml.ws.api.model.SEIModel seiModel, List<Class> classes, List<com.sun.xml.bind.api.TypeReference> typeRefs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBContextFactoryImpl

public JAXBContextFactoryImpl()
Method Detail

createJAXBContext

public com.sun.xml.bind.api.JAXBRIContext createJAXBContext(com.sun.xml.ws.api.model.SEIModel seiModel,
                                                            List<Class> classes,
                                                            List<com.sun.xml.bind.api.TypeReference> typeRefs)
                                                     throws JAXBException
Specified by:
createJAXBContext in interface com.sun.xml.ws.developer.JAXBContextFactory
Throws:
JAXBException


Copyright © 2005-2011 ELCA. All Rights Reserved.