EclipseLink 1.1.4, build 'v20100812-r7860' API Reference

org.eclipse.persistence.jaxb
Class JAXBContextFactory

java.lang.Object
  extended by org.eclipse.persistence.jaxb.JAXBContextFactory

public class JAXBContextFactory
extends java.lang.Object

INTERNAL:

Purpose:A TopLink specific JAXBContextFactory. This class can be specified in a jaxb.properties file to make use of TopLink's JAXB 2.0 implementation.

Responsibilities:

This class is the entry point into in TopLink's JAXB 2.0 Runtime. It provides the required factory methods and is invoked by javax.xml.bind.JAXBContext.newInstance() to create new instances of JAXBContext. When creating a JAXBContext from a contextPath, the list of classes is derived either from an ObjectFactory class (schema-to-java) or a jaxb.index file (java-to-schema).

See Also:
JAXBContext, JAXBContext, Generator
Author:
mmacivor
Since:
Oracle TopLink 11.1.1.0.0

Constructor Summary
JAXBContextFactory()
           
 
Method Summary
static javax.xml.bind.JAXBContext createContext(java.lang.Class[] classesToBeBound, java.util.Map properties)
           
static javax.xml.bind.JAXBContext createContext(java.lang.Class[] classesToBeBound, java.util.Map properties, java.lang.ClassLoader classLoader)
           
static javax.xml.bind.JAXBContext createContext(java.lang.String contextPath, java.lang.ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBContextFactory

public JAXBContextFactory()
Method Detail

createContext

public static javax.xml.bind.JAXBContext createContext(java.lang.Class[] classesToBeBound,
                                                       java.util.Map properties)
                                                throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

createContext

public static javax.xml.bind.JAXBContext createContext(java.lang.Class[] classesToBeBound,
                                                       java.util.Map properties,
                                                       java.lang.ClassLoader classLoader)
                                                throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

createContext

public static javax.xml.bind.JAXBContext createContext(java.lang.String contextPath,
                                                       java.lang.ClassLoader classLoader)
                                                throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

EclipseLink 1.1.4, build 'v20100812-r7860' API Reference