< prev index next >
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/JAXBContextFactory.java
Print this page
*** 30,40 ****
/**
* <p>Factory that creates new <code>JAXBContext</code> instances.
*
* JAXBContextFactory can be located using {@link java.util.ServiceLoader#load(Class)}
*
! * @since 1.9, JAXB 2.3
*/
public interface JAXBContextFactory {
/**
* <p>
--- 30,40 ----
/**
* <p>Factory that creates new <code>JAXBContext</code> instances.
*
* JAXBContextFactory can be located using {@link java.util.ServiceLoader#load(Class)}
*
! * @since 9, JAXB 2.3
*/
public interface JAXBContextFactory {
/**
* <p>
*** 66,76 ****
* </ol>
*
* @throws IllegalArgumentException
* if the parameter contains {@code null} (i.e., {@code newInstance(null,someMap);})
*
! * @since 1.9, JAXB 2.3
*/
JAXBContext createContext(Class<?>[] classesToBeBound,
Map<String, ?> properties ) throws JAXBException;
/**
--- 66,76 ----
* </ol>
*
* @throws IllegalArgumentException
* if the parameter contains {@code null} (i.e., {@code newInstance(null,someMap);})
*
! * @since 9, JAXB 2.3
*/
JAXBContext createContext(Class<?>[] classesToBeBound,
Map<String, ?> properties ) throws JAXBException;
/**
*** 98,108 ****
* <li>failure to locate either ObjectFactory.class or jaxb.index in the packages</li>
* <li>an ambiguity among global elements contained in the contextPath</li>
* <li>failure to locate a value for the context factory provider property</li>
* <li>mixing schema derived packages from different providers on the same contextPath</li>
* </ol>
! * @since 1.9, JAXB 2.3
*/
JAXBContext createContext(String contextPath,
ClassLoader classLoader,
Map<String, ?> properties ) throws JAXBException;
--- 98,108 ----
* <li>failure to locate either ObjectFactory.class or jaxb.index in the packages</li>
* <li>an ambiguity among global elements contained in the contextPath</li>
* <li>failure to locate a value for the context factory provider property</li>
* <li>mixing schema derived packages from different providers on the same contextPath</li>
* </ol>
! * @since 9, JAXB 2.3
*/
JAXBContext createContext(String contextPath,
ClassLoader classLoader,
Map<String, ?> properties ) throws JAXBException;
< prev index next >