|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.rm.policy.RMPolicyUtilities
public final class RMPolicyUtilities
Utilities for working with policies and configurations.
| Method Summary | |
|---|---|
static Collection<AssertionInfo> |
collectRMAssertions(AssertionInfoMap aim)
Collect RMAssertions from map. |
static boolean |
equals(RMAssertion a,
RMAssertion b)
|
static boolean |
equals(RMConfiguration a,
RMConfiguration b)
|
static RMConfiguration |
getRMConfiguration(RMConfiguration 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 RMConfiguration |
intersect(org.apache.neethi.builders.PrimitiveAssertion rma,
RMConfiguration cfg)
Intersect a policy with a supplied configuration. |
static RMConfiguration |
intersect(RMAssertion rma,
RMConfiguration cfg)
Intersect a policy with a supplied configuration. |
static boolean |
isCompatible(org.apache.neethi.builders.PrimitiveAssertion rma,
RMConfiguration cfg)
Check if a policy is compatible with a supplied configuration. |
static boolean |
isCompatible(RMAssertion asser,
RMConfiguration cfg)
Check if a policy is compatible with a supplied configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RMConfiguration getRMConfiguration(RMConfiguration defaultValue,
Message message)
rma - the default value (non-null)message - the message
public static Collection<AssertionInfo> collectRMAssertions(AssertionInfoMap aim)
aim - map, may be null
null
public static boolean equals(RMAssertion a,
RMAssertion b)
public static boolean equals(RMConfiguration a,
RMConfiguration b)
public static RMConfiguration intersect(RMAssertion rma,
RMConfiguration cfg)
rma - cfg -
public static boolean isCompatible(RMAssertion asser,
RMConfiguration cfg)
asser - cfg -
true if compatible, false if not
public static RMConfiguration intersect(org.apache.neethi.builders.PrimitiveAssertion rma,
RMConfiguration cfg)
rma - cfg -
public static boolean isCompatible(org.apache.neethi.builders.PrimitiveAssertion rma,
RMConfiguration cfg)
rma - cfg -
true if compatible, false if not
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||