org.jboss.osgi.jaxb
Interface JAXBService


public interface JAXBService

A service to obtain the JAXBContext

Since:
29-May-2009
Author:
thomas.diesler@jboss.com

Method Summary
 javax.xml.bind.JAXBContext newJAXBContext(java.lang.Class<?>... classesToBeBound)
          Obtain a new instance of a JAXBContext class.
 javax.xml.bind.JAXBContext newJAXBContext(java.lang.Class<?>[] classesToBeBound, java.util.Map<java.lang.String,?> props)
          Obtain a new instance of a JAXBContext class.
 javax.xml.bind.JAXBContext newJAXBContext(java.lang.String contextPath)
          Obtain a new instance of a JAXBContext class.
 javax.xml.bind.JAXBContext newJAXBContext(java.lang.String contextPath, java.util.Map<java.lang.String,?> props)
          Obtain a new instance of a JAXBContext class.
 

Method Detail

newJAXBContext

javax.xml.bind.JAXBContext newJAXBContext(java.lang.String contextPath)
                                          throws javax.xml.bind.JAXBException
Obtain a new instance of a JAXBContext class.

Throws:
javax.xml.bind.JAXBException
See Also:
JAXBContext#newInstance(String)}

newJAXBContext

javax.xml.bind.JAXBContext newJAXBContext(java.lang.String contextPath,
                                          java.util.Map<java.lang.String,?> props)
                                          throws javax.xml.bind.JAXBException
Obtain a new instance of a JAXBContext class.

Throws:
javax.xml.bind.JAXBException
See Also:
JAXBContext#newInstance(String,ClassLoader,Map)}

newJAXBContext

javax.xml.bind.JAXBContext newJAXBContext(java.lang.Class<?>... classesToBeBound)
                                          throws javax.xml.bind.JAXBException
Obtain a new instance of a JAXBContext class.

Throws:
javax.xml.bind.JAXBException
See Also:
JAXBContext#newInstance(Class...)}

newJAXBContext

javax.xml.bind.JAXBContext newJAXBContext(java.lang.Class<?>[] classesToBeBound,
                                          java.util.Map<java.lang.String,?> props)
                                          throws javax.xml.bind.JAXBException
Obtain a new instance of a JAXBContext class.

Throws:
javax.xml.bind.JAXBException
See Also:
JAXBContext#newInstance(Class[], Map)}


Copyright © 2009. All Rights Reserved.