Package jakarta.xml.ws
Class WebServiceFeature
java.lang.Object
jakarta.xml.ws.WebServiceFeature
- Direct Known Subclasses:
AddressingFeature
,MTOMFeature
,RespectBindingFeature
A WebServiceFeature is used to represent a feature that can be
enabled or disabled for a web service.
The Jakarta XML Web Services specification will define some standard features and
Jakarta XML Web Services 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:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Specifies if the feature is enabled or disabled -
Constructor Summary
-
Method Summary
-
Field Details
-
enabled
protected boolean enabledSpecifies if the feature is enabled or disabled
-
-
Constructor Details
-
WebServiceFeature
protected WebServiceFeature()Default constructor.
-
-
Method Details
-
getID
Get the unique identifier for this WebServiceFeature.- Returns:
- the unique identifier for this feature.
-
isEnabled
public boolean isEnabled()Returnstrue
if this feature is enabled.- Returns:
true
if and only if the feature is enabled .
-