Annotation Initializer

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

Since:
1.0

Description:
This extension point allows clients to associate an annotation initializer with an annotation definition. The annotation initializers role is to construct values for the annotations member value pairs.

Configuration Markup:

<!ELEMENT extension (initializer*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT initializer EMPTY>

<!ATTLIST initializer

annotation IDREF #REQUIRED

class      CDATA #REQUIRED

>


Examples:
The following is an example of an annotation initializer contribution:


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


Copyright (c) 2009 Shane Clarke.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html