Levi Purvis wrote:
> This is a follow-up to the forum discussion here:
>
> http://forums.java.net/jive/thread.jspa?threadID=18615
Cool.
> So it looks like the general idea is to create an AnnotationReader
> implementation that can provide all of the metadata from somewhere
> other than the default class file?
Yes.
> Where would I "plug in" an alternate implementation? It looks like
> JAXBContextImpl is hard-wired to new
> RuntimeInlineAnnotationReader(...).
Yes. We need to fix that, but I can do that very easily. Most likely
we'll take an instance of AnnotationReader through
JAXBContext.newInstance()'s Map property.
I'll try to get this done in this afternoon and let you know.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com