|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.policy.PolicyMapUtil
public class PolicyMapUtil
Utility methods that operate on a PolicyMap.
| Method Summary | |
|---|---|
static void |
insertPolicies(PolicyMap policyMap,
Collection<PolicySubject> policySubjects,
QName serviceName,
QName portName)
Inserts all PolicySubjects of type WsdlBindingSubject into the given policy map. |
static void |
rejectAlternatives(PolicyMap map)
Throw an exception if the policy map contains any policy with at least two policy alternatives. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void rejectAlternatives(PolicyMap map)
throws PolicyException
map - policy map to be processed
PolicyException - Thrown if the policy map contains at least one policy
with more than one policy alternative
public static void insertPolicies(PolicyMap policyMap,
Collection<PolicySubject> policySubjects,
QName serviceName,
QName portName)
throws PolicyException
policyMap - The policy mappolicySubjects - The policy subjects. The actual subject must have the
type WsdlBindingSubject, otherwise it will not be processed.serviceName - The name of the current WSDL serviceportName - The name of the current WSDL port
PolicyException - Thrown if the effective policy of a policy subject
could not be computed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||