Package com.sun.xml.ws.api.policy
Interface PolicyResolver
-
- All Known Implementing Classes:
DefaultPolicyResolver,WsitPolicyResolver
public interface PolicyResolverPolicyResolver 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 Classes Modifier and Type Interface Description static classPolicyResolver.ClientContextstatic classPolicyResolver.ServerContext
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyMapresolve(PolicyResolver.ClientContext context)Creates a PolicyResolverPolicyMapresolve(PolicyResolver.ServerContext context)Creates a PolicyResolver
-
-
-
Method Detail
-
resolve
PolicyMap resolve(PolicyResolver.ServerContext context) throws javax.xml.ws.WebServiceException
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:
javax.xml.ws.WebServiceException- If resolution failed
-
resolve
PolicyMap resolve(PolicyResolver.ClientContext context) throws javax.xml.ws.WebServiceException
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:
javax.xml.ws.WebServiceException- If resolution failed
-
-