Date: 2004-09-20T17:41:26 Editor: MichaelMerz <[EMAIL PROTECTED]> Wiki: Apache Beehive Wiki Page: Jsr181ImplArchitecture URL: http://wiki.apache.org/beehive/Jsr181ImplArchitecture
no comment Change Log: ------------------------------------------------------------------------------ @@ -54,7 +54,17 @@ == Interfaces == -As shown above, the processor provides two interfaces, a command line interface and an API. The command line interface is targeted at applications such as IDEs (e.g. Pollinate), or Web Service containers (e.g. Axis) that require a direct, programmatic interface. The command line interface is intended as a stand-alone tool that can be used to simplify the manual generation of artifacts for deployable Web services. Each user interface supports both modes, Start with Java and Start with WSDL. +As shown above, the processor provides two interfaces, an API and a command line interface. Each user interface supports both modes, Start with Java and Start with WSDL. + +=== Processor API === + +The API is intended for applications such as IDEs (e.g. Pollinate, WebLogic Workshop, etc.), or Web Service containers (e.g. Axis) that require a direct, programmatic interface. The API consists mainly of two interfaces: + a. The WsmAnnotationProcessor, which subclasses the TwoPhaseAnnotationProcessor. The TwoPhaseAnnotationProcessor subclasses Sun's AnnotationProcessor and splits the process() method into two check() and generate() (see control subproject). + b. The AnnotationModel, which provides access to the metadata for a given Web service through the method "getModel(<name>)". + +=== Command Line Interface === + +When invoked through the command line interface, the processor can be run as a stand-alone tool to manually generate artifacts for deployable Web services. == Annotation Processor ==
