public final class PolicyMerger extends Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.Copyright © 2006–2017 Oracle Corporation. All rights reserved.