JAX-WS
v2.1

javax.xml.ws
Annotation Type Feature


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Feature

The Feature annotation is used to enable/disable a feature to use for a web service endpoint implementation class.

Since:
JAX-WS 2.1

Optional Element Summary
 boolean enabled
          Specifies if the features is enabled or disabled.
 FeatureParameter[] parameters
          Parameters for the specified feature.
 java.lang.String value
          The unique identifier of feature to enable or disable;
 

value

public abstract java.lang.String value
The unique identifier of feature to enable or disable;

See Also:
AddressingFeature.ID, MTOMFeature.ID
Default:
""

enabled

public abstract boolean enabled
Specifies if the features is enabled or disabled.

See Also:
AddressingFeature, MTOMFeature
Default:
true

parameters

public abstract FeatureParameter[] parameters
Parameters for the specified feature. Each feature may take any number of parameters to customize the use of the feature.

See Also:
MTOMFeature
Default:
{}

JAX-WS
v2.1


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

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