Package com.sun.xml.ws.policy.parser
Class WsitPolicyResolver
- java.lang.Object
-
- com.sun.xml.ws.policy.parser.WsitPolicyResolver
-
- All Implemented Interfaces:
PolicyResolver
public class WsitPolicyResolver extends Object implements PolicyResolver
Load and process the WSIT configuration files. If they are not present, fall back to the JAX-WS default implementation.- 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 Constructor Description WsitPolicyResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyMapresolve(PolicyResolver.ClientContext context)Creates a PolicyResolverPolicyMapresolve(PolicyResolver.ServerContext context)Creates a PolicyResolver
-
-
-
Method Detail
-
resolve
public PolicyMap resolve(PolicyResolver.ServerContext context) throws javax.xml.ws.WebServiceException
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.
- Throws:
javax.xml.ws.WebServiceException- If resolution failed
-
resolve
public PolicyMap resolve(PolicyResolver.ClientContext context)
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.
-
-