Package com.sun.xml.ws.policy.parser
Class WsitPolicyResolver
java.lang.Object
com.sun.xml.ws.policy.parser.WsitPolicyResolver
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionresolve(PolicyResolver.ClientContext context) Creates a PolicyResolverresolve(PolicyResolver.ServerContext context) Creates a PolicyResolver
-
Constructor Details
-
WsitPolicyResolver
public WsitPolicyResolver()
-
-
Method Details
-
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
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.
-