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
  • Constructor Details

    • WsitPolicyResolver

      public WsitPolicyResolver()
  • Method Details

    • resolve

      Description copied from interface: PolicyResolver
      Creates a PolicyResolver
      Specified by:
      resolve in interface 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:
      WebServiceException - If resolution failed
    • resolve

      public PolicyMap resolve(PolicyResolver.ClientContext context)
      Description copied from interface: PolicyResolver
      Creates a PolicyResolver
      Specified by:
      resolve in interface 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.