Package com.sun.xml.ws.api.policy
Interface PolicyResolver
- All Known Implementing Classes:
DefaultPolicyResolver,WsitPolicyResolver
public interface PolicyResolver
PolicyResolver will be used to resolve the PolicyMap created by configuration understood by JAX-WS.
Extensions of this can return effective PolicyMap after merge policies from other configurations.
- Author:
- Rama Pulavarthi
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionresolve(PolicyResolver.ClientContext context) Creates a PolicyResolverresolve(PolicyResolver.ServerContext context) Creates a PolicyResolver
-
Method Details
-
resolve
Creates a PolicyResolver- 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.
- Throws:
jakarta.xml.ws.WebServiceException- If resolution failed
-
resolve
Creates a PolicyResolver- 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.
- Throws:
jakarta.xml.ws.WebServiceException- If resolution failed
-