W3cubDocs

/OpenJDK 8 Web

Class 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

Fields

enabled

protected boolean enabled

Specifies if the feature is enabled or disabled

Constructors

WebServiceFeature

protected WebServiceFeature()

Methods

getID

public abstract String 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 .

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.