- java.lang.Object
-
- javax.xml.ws.WebServiceFeature
-
- Direct Known Subclasses:
- AddressingFeature, MTOMFeature, RespectBindingFeature
public abstract class WebServiceFeature extends Object
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:
- 2.1
- See Also:
RespectBindingFeature
,AddressingFeature
,MTOMFeature
-
-
Field Summary
Fields Modifier and Type Field and Description protected boolean
enabled
Specifies if the feature is enabled or disabled
-
Constructor Summary
Constructors Modifier Constructor and Description protected
WebServiceFeature()
-
-
-
Method Detail
-
getID
public abstract String 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 .
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/xml/ws/webservicefeature.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.