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
 JAXBContext newJAXBContext(Class<?>... classesToBeBound)
          Obtain a new instance of a JAXBContext class.
 JAXBContext newJAXBContext(Class<?>[] classesToBeBound, Map<String,?> props)
          Obtain a new instance of a JAXBContext class.
 JAXBContext newJAXBContext(String contextPath)
          Obtain a new instance of a JAXBContext class.
 JAXBContext newJAXBContext(String contextPath, Map<String,?> props)
          Obtain a new instance of a JAXBContext class.
 

Method Detail

newJAXBContext

JAXBContext newJAXBContext(String contextPath)
                           throws JAXBException
Obtain a new instance of a JAXBContext class.

Throws:
JAXBException
See Also:
JAXBContext#newInstance(String)}

newJAXBContext

JAXBContext newJAXBContext(String contextPath,
                           Map<String,?> props)
                           throws JAXBException
Obtain a new instance of a JAXBContext class.

Throws:
JAXBException
See Also:
JAXBContext#newInstance(String,ClassLoader,Map)}

newJAXBContext

JAXBContext newJAXBContext(Class<?>... classesToBeBound)
                           throws JAXBException
Obtain a new instance of a JAXBContext class.

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

newJAXBContext

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

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


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.