Top Description Fields Constructors Methods
javax.xml.ws

public abstract Class WebServiceFeature

extends Object
Class Inheritance
Known Direct Subclasses
javax.xml.ws.soap.AddressingFeature, javax.xml.ws.soap.MTOMFeature, javax.xml.ws.RespectBindingFeature

A WebServiceFeature is used to represent a feature that can be enabled or disabled for a web service.

The JAX-WS specification will define some standard features and JAX-WS implementors are free to define additional features if necessary. Vendor specific features may not be portable so caution should be used when using them. Each Feature definition MUST define a public static final String ID that can be used in the Feature annotation to refer to the feature. This ID MUST be unique across all features of all vendors. When defining a vendor specific feature ID, use a vendor specific namespace in the ID string.

Since
1.6, JAX-WS 2.1
See Also
javax.xml.ws.RespectBindingFeature, javax.xml.ws.soap.AddressingFeature, javax.xml.ws.soap.MTOMFeature

Field Summary

Modifier and TypeField and Description
protected boolean
enabled

Specifies if the feature is enabled or disabled

Constructor Summary

AccessConstructor and Description
protected
WebServiceFeature()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public abstract String

Returns:

the unique identifier for this feature.
getID
()

Get the unique identifier for this WebServiceFeature.

public boolean

Returns:

true if and only if the feature is enabled .
isEnabled
()

Returns true if this feature is enabled.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

enabledback to summary
protected boolean enabled

Specifies if the feature is enabled or disabled

Constructor Detail

WebServiceFeatureback to summary
protected WebServiceFeature()

Default constructor.

Method Detail

getIDback to summary
public abstract String getID()

Get the unique identifier for this WebServiceFeature.

Returns:String

the unique identifier for this feature.

isEnabledback to summary
public boolean isEnabled()

Returns true if this feature is enabled.

Returns:boolean

true if and only if the feature is enabled .