Class PolicyResolver.ServerContext

  • Enclosing interface:
    PolicyResolver

    public static class PolicyResolver.ServerContext
    extends Object
    • Constructor Detail

      • ServerContext

        public ServerContext​(@Nullable
                             PolicyMap policyMap,
                             Container container,
                             Class endpointClass,
                             PolicyMapMutator... mutators)
        The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use PolicyMap until it is finalized. In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL. In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
        Parameters:
        policyMap - PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
        container -
        endpointClass -
        mutators - List of PolicyMapMutators that are run eventually when a PolicyMap is created
      • ServerContext

        public ServerContext​(@Nullable
                             PolicyMap policyMap,
                             Container container,
                             Class endpointClass,
                             boolean hasWsdl,
                             PolicyMapMutator... mutators)
        The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use PolicyMap until it is finalized. In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL. In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
        Parameters:
        policyMap - PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
        container -
        endpointClass -
        hasWsdl - Set to true, if this service is bundled with WSDL, false otherwise
        mutators - List of PolicyMapMutators that are run eventually when a PolicyMap is created