Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

JAXWS/Tools Extension Points

< JAXWS
Revision as of 18:52, 24 September 2009 by Shane clarke.hotmail.com (Talk | contribs) (New page: <h1>Annotations Framework</h1> <h2>Annotation Category</h2> '''Plug-in:''' org.eclipse.jst.ws.annotations.core '''Identifier:''' org.eclipse.jst.ws.annotations.core.annotationCategory ''...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Annotations Framework

Annotation Category

Plug-in: org.eclipse.jst.ws.annotations.core

Identifier: org.eclipse.jst.ws.annotations.core.annotationCategory

Description: The purpose of this extension point is to define an annotation category to group together a set of annotations.

Consumers org.eclipse.jst.ws.jaxws.core, org.eclipse.jst.ws.jaxb.core

Example: Defines a JAX-WS category.

<extension point="org.eclipse.jst.ws.annotations.core.annotationCategory">
   <category
      id="jaxws.category"
      name="JAX-WS">
   </category>
</extension>

Annotation Definition

Plug-in: org.eclipse.jst.ws.annotations.core

Identifier: org.eclipse.jst.ws.annotations.core.annotationDefinition

Description: This extension point is is used to define an annotation.

Consumers org.eclipse.jst.ws.jaxws.core, org.eclipse.jst.ws.jaxb.core

Example: Defines the javax.jws.WebService annotation.

<extension point="org.eclipse.jst.ws.annotations.core.annotationDefinition">
   <annotation
      category="jaxws.category"
      class="javax.jws.WebService"
      name="WebService">
   </annotation>
</extension>

Annotation Initializer

Plug-in: org.eclipse.jst.ws.annotations.core

Identifier: org.eclipse.jst.ws.annotations.core.annotationInitializer

Description: This extension point is used to define an 'initializer' for an annotation which can used to calculate values for the annotations elements.

Consumers org.eclipse.jst.ws.jaxws.ui

Example: Adds an initializer for the javax.jws.WebService annotation.

<extension point="org.eclipse.jst.ws.annotations.core.annotationInitializer">
   <initializer
      annotation="javax.jws.WebService"
      class="org.eclipse.jst.ws.internal.jaxws.ui.annotations.initialization.WebServiceAttributeInitializer">
   </initializer>
</extension>

Annotation Processor

Plug-in: org.eclipse.jst.ws.annotations.core

Identifier: org.eclipse.jst.ws.annotations.core.annotationProcessor

Description: This extension point is used to define a APT 'processor' which is used to validate the annotation.

Consumers org.eclipse.jst.ws.jaxws.core

Example: Adds a processor to validate a subset of the rules pertaining to the javax.jws.WebService annotation.

<extension point="org.eclipse.jst.ws.annotations.core.annotationProcessor">
   <processor
      annotation="javax.jws.WebService"
      class="org.eclipse.jst.ws.internal.jaxws.core.annotations.validation.WebServicePublicAbstractFinalRule">
         <description>
            Classes annotated with @WebService must be an outer public class, must not be final, and must not be abstract
         </description>
   </processor>
</extension>

Back to the top