javax.xml.ws
Class RespectBindingFeature

java.lang.Object
  extended by javax.xml.ws.WebServiceFeature
      extended by javax.xml.ws.RespectBindingFeature

public final class RespectBindingFeature
extends WebServiceFeature

This feature clarifies the use of the wsdl:binding in a JAX-WS runtime. This feature can be used during the creation of SEI proxy, and Dispatch instances on the client side and Endpoint instances on the server side. This feature cannot be used for Service instance creation on the client side.

This feature is only useful with web services that have an associated WSDL. Enabling this feature requires that a JAX-WS implementation inspect the wsdl:binding for an endpoint at runtime to make sure that all wsdl:extensions that have the required attribute set to true are understood and are being used.

The following describes the affects of this feature with respect to be enabled or disabled:

Since:
JAX-WS 2.1
See Also:
AddressingFeature

Field Summary
static java.lang.String ID
          Constant value identifying the RespectBindingFeature
 
Fields inherited from class javax.xml.ws.WebServiceFeature
enabled
 
Constructor Summary
RespectBindingFeature()
          Creates an RespectBindingFeature.
RespectBindingFeature(boolean enabled)
          Creates an RespectBindingFeature
 
Method Summary
 java.lang.String getID()
          Get the unique identifier for this WebServiceFeature.
 
Methods inherited from class javax.xml.ws.WebServiceFeature
isEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
Constant value identifying the RespectBindingFeature

See Also:
Constant Field Values
Constructor Detail

RespectBindingFeature

public RespectBindingFeature()
Creates an RespectBindingFeature. The instance created will be enabled.


RespectBindingFeature

public RespectBindingFeature(boolean enabled)
Creates an RespectBindingFeature

Parameters:
enabled - specifies whether this feature should be enabled or not.
Method Detail

getID

public java.lang.String getID()
Get the unique identifier for this WebServiceFeature.

Specified by:
getID in class WebServiceFeature
Returns:
the unique identifier for this feature.


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41