users@jaxb.java.net

Re: ObjectFactory plugin

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Tue, 28 Nov 2006 13:42:39 +0100

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