|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.policy.PolicyMerger
public final class PolicyMerger
Merge policies and return the effective policy. WS-PolicyAttachment defines a merge algorithm for WSDL 1.1 policy attachments.
| Method Summary | |
|---|---|
static PolicyMerger |
getMerger()
Factory method for obtaining thread-safe policy merger instance. |
Policy |
merge(Collection<Policy> policies)
Takes collection of policies and merges them into a single policy using algorithm described in WS-PolicyAttachment specification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PolicyMerger getMerger()
public Policy merge(Collection<Policy> policies)
policies - collection of policies to be merged. The collection must not contain 'null' elements!
null or empty, returns null. If provided
collection of policies contains only single policy, the policy is returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||