Package org.apache.cxf.ws.policy
Class AbstractPolicyInterceptorProvider
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<String,Object>
org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
org.apache.cxf.ws.policy.AbstractPolicyInterceptorProvider
- All Implemented Interfaces:
Serializable,ConcurrentMap<String,,Object> Map<String,,Object> org.apache.cxf.interceptor.InterceptorProvider,PolicyInterceptorProvider
- Direct Known Subclasses:
IgnorablePolicyInterceptorProvider,MTOMPolicyInterceptorProvider
public abstract class AbstractPolicyInterceptorProvider
extends org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
implements PolicyInterceptorProvider
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigurationPresent(org.apache.cxf.message.Message msg, org.apache.neethi.Assertion assertion) Return false if the message does not contain enough contextual configuration to preemtively support the given assertion.Returns a collection of QNames describing the xml schema types of the assertions that this interceptor implements.Methods inherited from class org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
equals, getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, hashCode, put, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptorsMethods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesMethods inherited from class java.util.AbstractMap
cloneMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
-
Constructor Details
-
AbstractPolicyInterceptorProvider
-
AbstractPolicyInterceptorProvider
-
-
Method Details
-
getAssertionTypes
Description copied from interface:PolicyInterceptorProviderReturns a collection of QNames describing the xml schema types of the assertions that this interceptor implements.- Specified by:
getAssertionTypesin interfacePolicyInterceptorProvider- Returns:
- collection of QNames of known assertion types
-
configurationPresent
public boolean configurationPresent(org.apache.cxf.message.Message msg, org.apache.neethi.Assertion assertion) Description copied from interface:PolicyInterceptorProviderReturn false if the message does not contain enough contextual configuration to preemtively support the given assertion. Otherwise, return true. If false, the PolicyEngine.supportsAlternative method will not select this policy and will attempt a different alternative. Example: If the context does not contain login information, an assertion that requires it could return false to allow the Alternative selection algorithms to try a different alternative.- Specified by:
configurationPresentin interfacePolicyInterceptorProvider- Parameters:
msg- The contextual message, may be null if no message is in context at this point- Returns:
-