Class ContextFinder

java.lang.Object
jakarta.xml.bind.ContextFinder

class ContextFinder extends Object
This class is package private and therefore is not exposed as part of the Jakarta XML Binding API. This code is designed to implement the XML Binding spec pluggability feature
See Also:
  • Field Details

    • logger

      private static final Logger logger
    • DEFAULT_FACTORY_CLASS

      static final String DEFAULT_FACTORY_CLASS
      When JAXB is in J2SE, rt.jar has to have a JAXB implementation. However, rt.jar cannot have META-INF/services/jakarta.xml.bind.JAXBContext because if it has, it will take precedence over any file that applications have in their jar files.

      When the user bundles his own Jakarta XML Binding implementation, we'd like to use it, and we want the platform default to be used only when there's no other Jakarta XML Binding provider.

      For this reason, we have to hard-code the class name into the API.

      See Also:
    • EXCEPTION_HANDLER

      private static ServiceLoaderUtil.ExceptionHandler<JAXBException> EXCEPTION_HANDLER
  • Constructor Details

    • ContextFinder

      ContextFinder()
  • Method Details