Hi.
> How to create a plugin to change the behavior of ObjectFactory?
> Where to begin?
I don't think you can influence that at the moment. There's per-package
ObjectFactoryGenerator which produces the object factory, but it can't be
customized at the moment.
You can hack into the generated ObjectFactory, though. Find the class within the
target package and augment it. But still, you can't do much.
ps. When I have questions like this I usually hack into jaxb2 sources to see
what's actually happening there.
Bye.
/lexi