users@jaxb.java.net

RE: Re: XJC Plugin development question

From: Gertelman, Michael, VF-JP <michael.gertelman_at_vodafone.com>
Date: Thu, 16 Mar 2006 09:17:00 +0900

Thanks a lot,
Michael

-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Thursday, March 16, 2006 5:59 AM
To: users_at_jaxb.dev.java.net
Subject: Re: XJC Plugin development question


Gertelman, Michael, VF-JP wrote:
> Hi Kohsuke,
> yes, I need to access both ObjectFactories, in intf and in impl
> packages. If it's too tricky it's ok, I found a way to work around it
> (ugly but at least it does not keep me from going on). Of course, if
> you have a real solution it would be great.

Glad to hear that you found a workaround.

I changed DualObjectFactoryGenerator and made publicOFG/privateOFG
available as public final fields.

You can get individual ObjectFactoryGenerator (and hence JDefinedClass)
through these properties.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com