WebServiceFeature (Java Platform SE 8 ) (original) (raw)
- 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 Description protected boolean enabled Specifies if the feature is enabled or disabled Constructor Summary
Constructors
Modifier Constructor Description protected WebServiceFeature() Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type Method Description abstract String getID() Get the unique identifier for this WebServiceFeature. boolean isEnabled() Returns true if this feature is enabled. * ### Methods inherited from class java.lang.[Object](../../../java/lang/Object.html "class in java.lang") `[clone](../../../java/lang/Object.html#clone--), [equals](../../../java/lang/Object.html#equals-java.lang.Object-), [finalize](../../../java/lang/Object.html#finalize--), [getClass](../../../java/lang/Object.html#getClass--), [hashCode](../../../java/lang/Object.html#hashCode--), [notify](../../../java/lang/Object.html#notify--), [notifyAll](../../../java/lang/Object.html#notifyAll--), [toString](../../../java/lang/Object.html#toString--), [wait](../../../java/lang/Object.html#wait--), [wait](../../../java/lang/Object.html#wait-long-), [wait](../../../java/lang/Object.html#wait-long-int-)`
Field Detail
* #### enabled protected boolean enabled Specifies if the feature is enabled or disabled
Constructor Detail
* #### WebServiceFeature protected WebServiceFeature()
Method Detail
* #### getID public abstract [String](../../../java/lang/String.html "class in java.lang") getID() Get the unique identifier for this WebServiceFeature. Returns: the unique identifier for this feature. * #### isEnabled public boolean isEnabled() Returns `true` if this feature is enabled. Returns: `true` if and only if the feature is enabled .
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.