This class implements the actual logic of
JAXBContext.newInstance .
This class works as a facade and all the actual work is delegated to
a JAXB provider that happens to be in the runtime (not necessarily the JAXB RI.)
This allows the generated code to be run with any JAXB provider.
This code is only used when XJC generates interfaces/implementations.
The trick to make this work is two ObjectFactory classes that we generate
in the interface/implementation mode.
The public ObjectFactory follows the spec, and this is the one that's exposed
to users. |