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(WebServiceFeature feature)
          Enables a WebServiceFeature based upon policy assertions on this port.
<F extends 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 WebServiceFeature> F getFeature(@NotNull
                                                    Class<F> featureType)

getFeatures

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


addFeature

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



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.