com.sun.xml.ws.api.model.wsdl
Interface WSDLFeaturedObject

All Superinterfaces:
WSDLObject
All Known Subinterfaces:
WSDLBoundPortType, WSDLPort
All Known Implementing Classes:
AbstractFeaturedObjectImpl, WSDLBoundPortTypeImpl, WSDLPortImpl

public interface WSDLFeaturedObject
extends WSDLObject

WSDLObject that can have features associated with it.

WSDLParserExtensions can add features to this object, which will then be incorporated when Dispatchs and proxies are created for the port.


Method Summary
 void addFeature(javax.xml.ws.WebServiceFeature feature)
          Enables a WebServiceFeature based upon policy assertions on this port.
<F extends javax.xml.ws.WebServiceFeature>
F
getFeature(Class<F> featureType)
           
 WSFeatureList getFeatures()
          Gets the feature list associated with this object.
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
 

Method Detail

getFeature

@Nullable
<F extends javax.xml.ws.WebServiceFeature> F getFeature(@NotNull
                                                                 Class<F> featureType)

getFeatures

@NotNull
WSFeatureList getFeatures()
Gets the feature list associated with this object.


addFeature

void addFeature(@NotNull
                javax.xml.ws.WebServiceFeature feature)
Enables a WebServiceFeature based upon policy assertions on this port. This method would be called during WSDL parsing by WS-Policy code.