users@jaxb.java.net

Re: Plugin for EJB 3.0 annotations

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 11 Aug 2005 10:27:32 -0700

Scott Allan wrote:
> To accomplish my EJB 3.0 CMP plugin I will need to be able to insert a
> line of text prior to the class declaration and prior to each
> setter/getter method. I assume this can be done? Is there a document
> that shows how all the Plugin related classes work?

See the recently added "at_generated" plug-in for example.

Also check out the JAXB RI architecture document [1], and its codeModel
section.

[1]
https://jaxb-architecture-document.dev.java.net/nonav/doc/?jaxb/package-summary.html
-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com