com.sun.xml.internal.ws.policy.PolicyMapMutator Java Examples

The following examples show how to use com.sun.xml.internal.ws.policy.PolicyMapMutator. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PolicyMapBuilder.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Iterates all the registered PolicyBuilders and lets them populate
 * their changes into PolicyMap. Registers mutators from collection given as a parameter
 * with the newly created map.
 */
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
    final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
    final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
    mutators.add(myExtender);
    if (null != externalMutators) {
        mutators.addAll(Arrays.asList(externalMutators));
    }
    final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
    for(BuilderHandler builder : policyBuilders){
        builder.populate(myExtender);
    }
    return policyMap;
}
 
Example #2
Source File: PolicyMapBuilder.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Iterates all the registered PolicyBuilders and lets them populate
 * their changes into PolicyMap. Registers mutators from collection given as a parameter
 * with the newly created map.
 */
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
    final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
    final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
    mutators.add(myExtender);
    if (null != externalMutators) {
        mutators.addAll(Arrays.asList(externalMutators));
    }
    final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
    for(BuilderHandler builder : policyBuilders){
        builder.populate(myExtender);
    }
    return policyMap;
}
 
Example #3
Source File: PolicyMapBuilder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Iterates all the registered PolicyBuilders and lets them populate
 * their changes into PolicyMap. Registers mutators from collection given as a parameter
 * with the newly created map.
 */
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
    final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
    final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
    mutators.add(myExtender);
    if (null != externalMutators) {
        mutators.addAll(Arrays.asList(externalMutators));
    }
    final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
    for(BuilderHandler builder : policyBuilders){
        builder.populate(myExtender);
    }
    return policyMap;
}
 
Example #4
Source File: PolicyMapBuilder.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Iterates all the registered PolicyBuilders and lets them populate
 * their changes into PolicyMap. Registers mutators from collection given as a parameter
 * with the newly created map.
 */
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
    final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
    final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
    mutators.add(myExtender);
    if (null != externalMutators) {
        mutators.addAll(Arrays.asList(externalMutators));
    }
    final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
    for(BuilderHandler builder : policyBuilders){
        builder.populate(myExtender);
    }
    return policyMap;
}
 
Example #5
Source File: PolicyMapBuilder.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Iterates all the registered PolicyBuilders and lets them populate
 * their changes into PolicyMap. Registers mutators from collection given as a parameter
 * with the newly created map.
 */
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
    final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
    final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
    mutators.add(myExtender);
    if (null != externalMutators) {
        mutators.addAll(Arrays.asList(externalMutators));
    }
    final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
    for(BuilderHandler builder : policyBuilders){
        builder.populate(myExtender);
    }
    return policyMap;
}
 
Example #6
Source File: PolicyMapBuilder.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Iterates all the registered PolicyBuilders and lets them populate
 * their changes into PolicyMap. Registers mutators from collection given as a parameter
 * with the newly created map.
 */
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
    final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
    final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
    mutators.add(myExtender);
    if (null != externalMutators) {
        mutators.addAll(Arrays.asList(externalMutators));
    }
    final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
    for(BuilderHandler builder : policyBuilders){
        builder.populate(myExtender);
    }
    return policyMap;
}
 
Example #7
Source File: PolicyMapBuilder.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Iterates all the registered PolicyBuilders and lets them populate
 * their changes into PolicyMap. Registers mutators from collection given as a parameter
 * with the newly created map.
 */
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
    final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
    final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
    mutators.add(myExtender);
    if (null != externalMutators) {
        mutators.addAll(Arrays.asList(externalMutators));
    }
    final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
    for(BuilderHandler builder : policyBuilders){
        builder.populate(myExtender);
    }
    return policyMap;
}
 
Example #8
Source File: PolicyMapBuilder.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Iterates all the registered PolicyBuilders and lets them populate
 * their changes into PolicyMap. Registers mutators from collection given as a parameter
 * with the newly created map.
 */
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
    final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
    final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
    mutators.add(myExtender);
    if (null != externalMutators) {
        mutators.addAll(Arrays.asList(externalMutators));
    }
    final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
    for(BuilderHandler builder : policyBuilders){
        builder.populate(myExtender);
    }
    return policyMap;
}
 
Example #9
Source File: PolicyResolver.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public Collection<PolicyMapMutator> getMutators() {
    return mutators;
}
 
Example #10
Source File: PolicyResolver.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public Collection<PolicyMapMutator> getMutators() {
    return mutators;
}
 
Example #11
Source File: PolicyResolver.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public Collection<PolicyMapMutator> getMutators() {
    return mutators;
}
 
Example #12
Source File: PolicyResolver.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public Collection<PolicyMapMutator> getMutators() {
    return mutators;
}
 
Example #13
Source File: PolicyResolver.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public Collection<PolicyMapMutator> getMutators() {
    return mutators;
}
 
Example #14
Source File: PolicyResolver.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public Collection<PolicyMapMutator> getMutators() {
    return mutators;
}
 
Example #15
Source File: PolicyResolver.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public Collection<PolicyMapMutator> getMutators() {
    return mutators;
}
 
Example #16
Source File: PolicyResolver.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public Collection<PolicyMapMutator> getMutators() {
    return mutators;
}
 
Example #17
Source File: PolicyResolver.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = hasWsdl;
    this.mutators = Arrays.asList(mutators);
}
 
Example #18
Source File: PolicyResolver.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = true;
    this.mutators = Arrays.asList(mutators);
}
 
Example #19
Source File: PolicyResolver.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = true;
    this.mutators = Arrays.asList(mutators);
}
 
Example #20
Source File: PolicyResolver.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = hasWsdl;
    this.mutators = Arrays.asList(mutators);
}
 
Example #21
Source File: PolicyResolver.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = hasWsdl;
    this.mutators = Arrays.asList(mutators);
}
 
Example #22
Source File: PolicyResolver.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = true;
    this.mutators = Arrays.asList(mutators);
}
 
Example #23
Source File: PolicyResolver.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = true;
    this.mutators = Arrays.asList(mutators);
}
 
Example #24
Source File: PolicyResolver.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = hasWsdl;
    this.mutators = Arrays.asList(mutators);
}
 
Example #25
Source File: PolicyResolver.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = hasWsdl;
    this.mutators = Arrays.asList(mutators);
}
 
Example #26
Source File: PolicyResolver.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = true;
    this.mutators = Arrays.asList(mutators);
}
 
Example #27
Source File: PolicyResolver.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = hasWsdl;
    this.mutators = Arrays.asList(mutators);
}
 
Example #28
Source File: PolicyResolver.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = true;
    this.mutators = Arrays.asList(mutators);
}
 
Example #29
Source File: PolicyResolver.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = true;
    this.mutators = Arrays.asList(mutators);
}
 
Example #30
Source File: PolicyResolver.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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
 *
 * @param policyMap
 *      PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
 * @param container
 * @param endpointClass
 * @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
 * @param mutators
 *      List of PolicyMapMutators that are run eventually when a PolicyMap is created
 */
public ServerContext(@Nullable PolicyMap policyMap, Container container,
                     Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
    this.policyMap = policyMap;
    this.endpointClass = endpointClass;
    this.container = container;
    this.hasWsdl = hasWsdl;
    this.mutators = Arrays.asList(mutators);
}