I'm trying configure a "system wide" custom javax.xml.bind.annotation.adapters.XmlAdapter
for the java.util.Locale
type in Jersey. It's easy enough to use @XmlJavaTypeAdapter
on classes I control but that's not always the case (3rd party code that I can't annotate).
It seems like it would be a pretty common problem but I can't find any good examples or doco on how to handle it.
So, is it possible?
Thanks!