Package com.sun.xml.ws.policy.jaxws
Class DefaultPolicyResolver
java.lang.Object
com.sun.xml.ws.policy.jaxws.DefaultPolicyResolver
- All Implemented Interfaces:
PolicyResolver
This default implementation runs the policy validators on the server side and
selects a policy alternative on the client side.
- Author:
- Rama Pulavarthi, Fabian Ritzmann
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.xml.ws.api.policy.PolicyResolver
PolicyResolver.ClientContext, PolicyResolver.ServerContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(PolicyResolver.ClientContext context) Creates a PolicyResolverresolve(PolicyResolver.ServerContext context) Creates a PolicyResolver
-
Constructor Details
-
DefaultPolicyResolver
public DefaultPolicyResolver()
-
-
Method Details
-
resolve
Description copied from interface:PolicyResolverCreates a PolicyResolver- Specified by:
resolvein interfacePolicyResolver- Parameters:
context- ServerContext that captures information useful for resolving Policy on server-side- Returns:
- A PolicyMap with single policy alternative that gets created after consulting various configuration models.
-
resolve
Description copied from interface:PolicyResolverCreates a PolicyResolver- Specified by:
resolvein interfacePolicyResolver- Parameters:
context- ServerContext that captures information useful for resolving Policy on client-side- Returns:
- A PolicyMap with single policy alternative that gets created after consulting various configuration models.
-