I am trying to use Eclipselink’s MOXy. I put jaxb.properties file in the same directory as my annotated classes and it contains the entry:
javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
Is there anyway I can be sure this implementation is being used at runtime?
For example, I can check my StAX implementation is Woodstox by checking:
inputFactory.getClass().getName() is equal com.ctc.wstx.stax.WstxInputFactory
Is there anything similar I can do to check my JAXB implementation?
Thanks.
From this answer: