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
All Implemented Interfaces:
Feature

public class WSAddressingFeature
extends AbstractFeature


Nested Class Summary
static class WSAddressingFeature.AddressingResponses
           
static interface WSAddressingFeature.WSAddressingFeatureApplier
           
 
Constructor Summary
WSAddressingFeature()
           
 
Method Summary
 MessageIdCache getMessageIdCache()
          Returns the cache used to enforce duplicate message IDs when isAllowDuplicates() returns false.
 WSAddressingFeature.AddressingResponses getResponses()
           
protected  void initializeProvider(InterceptorProvider provider, Bus bus)
           
 boolean isAddressingRequired()
           
 boolean isAllowDuplicates()
           
 boolean isUsingAddressingAdvisory()
           
 void setAddressingRequired(boolean r)
           
 void setAllowDuplicates(boolean allow)
           
 void setMessageIdCache(MessageIdCache messageIdCache)
          Sets the cache used to enforce duplicate message IDs when isAllowDuplicates() returns false.
 void setResponses(String r)
           
 void setResponses(WSAddressingFeature.AddressingResponses r)
           
 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 r)

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(WSAddressingFeature.AddressingResponses r)

setResponses

public void setResponses(String r)

getResponses

public WSAddressingFeature.AddressingResponses getResponses()

Apache CXF API

Apache CXF