Apache CXF API

org.apache.cxf.ws.rm.policy
Class RM10PolicyUtils

java.lang.Object
  extended by org.apache.cxf.ws.rm.policy.RM10PolicyUtils

public final class RM10PolicyUtils
extends Object


Method Summary
static Collection<AssertionInfo> collectRMAssertions(AssertionInfoMap aim)
          Collect RMAssertions from map.
static boolean equals(RMAssertion a, RMAssertion b)
           
static RMAssertion getRMAssertion(RMAssertion defaultValue, Message message)
          Returns an RMAssertion that is compatible with the default value and all RMAssertions pertaining to the message (can never be null).
static RMAssertion intersect(RMAssertion a, RMAssertion b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

collectRMAssertions

public static Collection<AssertionInfo> collectRMAssertions(AssertionInfoMap aim)
Collect RMAssertions from map. This checks both namespaces defined for WS-RM policy assertions.

Parameters:
aim - map, may be null
Returns:
merged collection, never null

getRMAssertion

public static RMAssertion getRMAssertion(RMAssertion defaultValue,
                                         Message message)
Returns an RMAssertion that is compatible with the default value and all RMAssertions pertaining to the message (can never be null).

Parameters:
rma - the default value
message - the message
Returns:
the compatible RMAssertion

intersect

public static RMAssertion intersect(RMAssertion a,
                                    RMAssertion b)

equals

public static boolean equals(RMAssertion a,
                             RMAssertion b)

Apache CXF API

Apache CXF