JAX-WS
v2.2

javax.xml.ws.spi
Annotation Type WebServiceFeatureAnnotation


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface WebServiceFeatureAnnotation

Annotation used to identify other annotations as a WebServiceFeature.

Each WebServiceFeature annotation annotated with this annotation MUST contain an enabled property of type boolean with a default value of true.

JAX-WS defines the following WebServiceFeature annotations (Addressing, MTOM, RespectBinding), however, an implementation may define vendors specific annotations for other features.

Annotations annotated with WebServiceFeatureAnnotation MUST have the same @Target of WebServiceRef annotation, so that the resulting feature annotation can be used in conjunction with the WebServiceRef annotation if necessary.

If a JAX-WS implementation encounters an annotation annotated with the WebServiceFeatureAnnotation that it does not recognize/support an error MUST be given.

Since:
JAX-WS 2.1
See Also:
Addressing, MTOM, RespectBinding

Required Element Summary
 java.lang.Class<? extends WebServiceFeature> bean
          The WebServiceFeature bean that is associated with the WebServiceFeature annotation
 java.lang.String id
          Unique identifier for the WebServiceFeature.
 

Element Detail

id

public abstract java.lang.String id
Unique identifier for the WebServiceFeature. This identifier MUST be unique across all implementations of JAX-WS.


bean

public abstract java.lang.Class<? extends WebServiceFeature> bean
The WebServiceFeature bean that is associated with the WebServiceFeature annotation


JAX-WS
v2.2


Comments to: jsr224-spec-comments@sun.com
More information at: http://java.sun.com/webservices

Copyright © 2007 by Sun Microsystems, Inc., 4150 Network Circle,
Santa Clara, California 95054, U.S.A. All Rights Reserved.