Message-ID: <39145382.299198.1368974651004.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_299197_1472715872.1368974651004" ------=_Part_299197_1472715872.1368974651004 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The a= rchitecture guide at the moment is quite weak.=C2=A0 It is presumed that mo= re architecture documentation will be added as more people write modules an= d extensions to Enunciate.=C2=A0 For now, we'll limit the discussion of the= architecture to a few brief topics.
An Enunciate module is simp= ly a class that implements org.codehaus.enunciate.modules.DeploymentModule.=C2=A0= If you're writing you're own module, you may want to start by extending BasicDe= ploymentModule, or if you want to use Freemarker templ= ates during your generate step (as do most of the current Enunciate modules= ), then you may want to extend FreemarkerDeploymentModule.
Packag= e your module into a jar, making sure your module class FQN is put in a fil= e META-INF/services/org.codehaus.enunciate.modules.DeploymentModule in the = jar (see Sun's discovery = process for details).=C2=A0 Then, as long as your jar is on the classpa= th when you invoke Enunciate, it should included as part of the engine.=
If you w= ant to know more, the best place to get a concrete example is by checking out the Enunciate source= code, picking a module, and seeing how it's done.=C2=A0 You'll probabl= y refer to the Javadocs a lot, and feel free to = post a question on the appropriate mailing list as= well.------=_Part_299197_1472715872.1368974651004--