Interface ModelJAXBContextFactory


  • public interface ModelJAXBContextFactory
    Factory to abstract the creation of the Model's javax.xml.bind.JAXBContext.
    • Method Detail

      • newJAXBContext

        Object newJAXBContext()
                       throws Exception
        Creates a new javax.xml.bind.JAXBContext used for loading the Camel model
        Returns:
        a new javax.xml.bind.JAXBContext
        Throws:
        Exception - is thrown if error creating the JAXBContext