Package org.apache.cxf.ws.addressing
Class WSAddressingFeature
- java.lang.Object
-
- javax.xml.ws.WebServiceFeature
-
- org.apache.cxf.feature.AbstractFeature
-
- org.apache.cxf.ws.addressing.WSAddressingFeature
-
- All Implemented Interfaces:
AbstractPortableFeature,Feature
public class WSAddressingFeature extends AbstractFeature
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWSAddressingFeature.AddressingResponsesstatic interfaceWSAddressingFeature.WSAddressingFeatureApplier
-
Constructor Summary
Constructors Constructor Description WSAddressingFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageIdCachegetMessageIdCache()Returns the cache used to enforce duplicate message IDs whenisAllowDuplicates()returnsfalse.WSAddressingFeature.AddressingResponsesgetResponses()protected voidinitializeProvider(InterceptorProvider provider, Bus bus)booleanisAddressingRequired()booleanisAllowDuplicates()booleanisUsingAddressingAdvisory()voidsetAddressingRequired(boolean r)voidsetAllowDuplicates(boolean allow)voidsetMessageIdCache(MessageIdCache messageIdCache)Sets the cache used to enforce duplicate message IDs whenisAllowDuplicates()returnsfalse.voidsetResponses(String r)voidsetResponses(WSAddressingFeature.AddressingResponses r)voidsetUsingAddressingAdvisory(boolean advisory)-
Methods inherited from class org.apache.cxf.feature.AbstractFeature
doInitializeProvider, getActive, getID, isEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.feature.AbstractPortableFeature
initialize, initialize, initialize, initialize
-
-
-
-
Method Detail
-
initializeProvider
protected void initializeProvider(InterceptorProvider provider, Bus bus)
- Overrides:
initializeProviderin classAbstractFeature
-
setAllowDuplicates
public void setAllowDuplicates(boolean allow)
-
isAllowDuplicates
public boolean isAllowDuplicates()
-
setUsingAddressingAdvisory
public void setUsingAddressingAdvisory(boolean advisory)
-
isUsingAddressingAdvisory
public boolean isUsingAddressingAdvisory()
-
isAddressingRequired
public boolean isAddressingRequired()
-
setAddressingRequired
public void setAddressingRequired(boolean r)
-
getMessageIdCache
public MessageIdCache getMessageIdCache()
Returns the cache used to enforce duplicate message IDs whenisAllowDuplicates()returnsfalse.- Returns:
- the cache used to enforce duplicate message IDs
-
setMessageIdCache
public void setMessageIdCache(MessageIdCache messageIdCache)
Sets the cache used to enforce duplicate message IDs whenisAllowDuplicates()returnsfalse.- Parameters:
messageIdCache- the cache to use- Throws:
NullPointerException- ifmessageIdCacheisnull
-
setResponses
public void setResponses(WSAddressingFeature.AddressingResponses r)
-
setResponses
public void setResponses(String r)
-
getResponses
public WSAddressingFeature.AddressingResponses getResponses()
-
-