Class ModuleUtil

java.lang.Object
javax.xml.bind.ModuleUtil

class ModuleUtil extends Object
Intended to be overridden on JDK9, with JEP 238 multi-release class copy. Contains only stubs for methods needed on JDK9 runtime.
  • Field Details

    • 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/javax.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 JAXB implementation, we'd like to use it, and we want the platform default to be used only when there's no other JAXB provider.

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

  • Constructor Details

    • ModuleUtil

      ModuleUtil()
  • Method Details