|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.binding.WebServiceFeatureList
public final class WebServiceFeatureList
Represents a list of WebServiceFeature
s that has bunch of utility methods
pertaining to web service features.
Constructor Summary | |
---|---|
WebServiceFeatureList()
|
|
WebServiceFeatureList(Class<?> endpointClass)
Creates a list by reading featuers from the annotation on a class. |
|
WebServiceFeatureList(javax.xml.ws.WebServiceFeature... features)
|
Method Summary | ||
---|---|---|
void |
add(javax.xml.ws.WebServiceFeature f)
Adds a feature to the list if it's not already added. |
|
void |
addAll(WSFeatureList list)
Adds features to the list if it's not already added. |
|
|
get(Class<F> featureType)
Gets a WebServiceFeature of the specific type. |
|
boolean |
isEnabled(Class<? extends javax.xml.ws.WebServiceFeature> feature)
Checks if a particular WebServiceFeature is enabled. |
|
Iterator<javax.xml.ws.WebServiceFeature> |
iterator()
|
|
void |
mergeFeatures(WSDLPort wsdlPort,
boolean honorWsdlRequired,
boolean reportConflicts)
Extracts features from AbstractFeaturedObjectImpl.getFeatures() . |
|
void |
parseAnnotations(Class<?> endpointClass)
Reads feature annotations on a class
and adds them to the list. |
|
void |
setParentFeaturedObject(WSDLFeaturedObject parent)
Set the parent features. |
|
javax.xml.ws.WebServiceFeature[] |
toArray()
Obtains all the features in the array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebServiceFeatureList()
public WebServiceFeatureList(@NotNull javax.xml.ws.WebServiceFeature... features)
public WebServiceFeatureList(@NotNull Class<?> endpointClass)
Method Detail |
---|
public void parseAnnotations(Class<?> endpointClass)
feature annotations
on a class
and adds them to the list.
public Iterator<javax.xml.ws.WebServiceFeature> iterator()
iterator
in interface Iterable<javax.xml.ws.WebServiceFeature>
@NotNull public javax.xml.ws.WebServiceFeature[] toArray()
WSFeatureList
toArray
in interface WSFeatureList
public boolean isEnabled(@NotNull Class<? extends javax.xml.ws.WebServiceFeature> feature)
WSFeatureList
WebServiceFeature
is enabled.
isEnabled
in interface WSFeatureList
@Nullable public <F extends javax.xml.ws.WebServiceFeature> F get(@NotNull Class<F> featureType)
WSFeatureList
WebServiceFeature
of the specific type.
get
in interface WSFeatureList
featureType
- The type of the feature to retrieve.
public void add(@NotNull javax.xml.ws.WebServiceFeature f)
public void addAll(@NotNull WSFeatureList list)
public void mergeFeatures(@NotNull WSDLPort wsdlPort, boolean honorWsdlRequired, boolean reportConflicts)
AbstractFeaturedObjectImpl.getFeatures()
.
Extra features that are not already set on binding.
i.e, if a feature is set already on binding through someother API
the coresponding wsdlFeature is not set.
wsdlPort
- WSDLPort modelhonorWsdlRequired
- If this is true add WSDL Feature only if wsd:Required=true
In SEI case, it should be false
In Provider case, it should be truereportConflicts
- If true, checks if the feature setting in WSDL (wsdl extension or
policy configuration) colflicts with feature setting in Deployed Service and
logs warning if there are any conflicts.public void setParentFeaturedObject(@NotNull WSDLFeaturedObject parent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |