Apache CXF API

org.apache.cxf.ws.addressing
Class WSAddressingFeature

java.lang.Object
  extended by org.apache.cxf.feature.AbstractFeature
      extended by org.apache.cxf.ws.addressing.WSAddressingFeature

public class WSAddressingFeature
extends AbstractFeature


Constructor Summary
WSAddressingFeature()
           
 
Method Summary
 MessageIdCache getMessageIdCache()
          Returns the cache used to enforce duplicate message IDs when isAllowDuplicates() returns false.
protected  void initializeProvider(InterceptorProvider provider, Bus bus)
           
 boolean isAddressingRequired()
           
 boolean isAllowDuplicates()
           
 boolean isUsingAddressingAdvisory()
           
 void setAddressingRequired(boolean required)
           
 void setAllowDuplicates(boolean allow)
           
 void setMessageIdCache(MessageIdCache messageIdCache)
          Sets the cache used to enforce duplicate message IDs when isAllowDuplicates() returns false.
 void setResponses(String responses)
           
 void setUsingAddressingAdvisory(boolean advisory)
           
 
Methods inherited from class org.apache.cxf.feature.AbstractFeature
getActive, initialize, initialize, initialize, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSAddressingFeature

public WSAddressingFeature()
Method Detail

initializeProvider

protected void initializeProvider(InterceptorProvider provider,
                                  Bus bus)
Overrides:
initializeProvider in class AbstractFeature

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 required)

getMessageIdCache

public MessageIdCache getMessageIdCache()
Returns the cache used to enforce duplicate message IDs when isAllowDuplicates() returns false.

Returns:
the cache used to enforce duplicate message IDs

setMessageIdCache

public void setMessageIdCache(MessageIdCache messageIdCache)
Sets the cache used to enforce duplicate message IDs when isAllowDuplicates() returns false.

Parameters:
messageIdCache - the cache to use
Throws:
NullPointerException - if messageIdCache is null

setResponses

public void setResponses(String responses)

Apache CXF API

Apache CXF