Search in sources :

Example 1 with MtomPolicyMapConfigurator

use of com.sun.xml.ws.encoding.policy.MtomPolicyMapConfigurator in project metro-jax-ws by eclipse-ee4j.

the class PolicyWSDLGeneratorExtension method loadConfigurators.

private PolicyMapConfigurator[] loadConfigurators() {
    final Collection<PolicyMapConfigurator> configurators = new LinkedList<>();
    // Add map configurators that are already built into JAX-WS
    configurators.add(new AddressingPolicyMapConfigurator());
    configurators.add(new MtomPolicyMapConfigurator());
    // Dynamically discover remaining map configurators
    PolicyUtil.addServiceProviders(configurators, PolicyMapConfigurator.class);
    return configurators.toArray(new PolicyMapConfigurator[0]);
}
Also used : MtomPolicyMapConfigurator(com.sun.xml.ws.encoding.policy.MtomPolicyMapConfigurator) AddressingPolicyMapConfigurator(com.sun.xml.ws.addressing.policy.AddressingPolicyMapConfigurator) LinkedList(java.util.LinkedList) PolicyMapConfigurator(com.sun.xml.ws.policy.jaxws.spi.PolicyMapConfigurator) MtomPolicyMapConfigurator(com.sun.xml.ws.encoding.policy.MtomPolicyMapConfigurator) AddressingPolicyMapConfigurator(com.sun.xml.ws.addressing.policy.AddressingPolicyMapConfigurator)

Aggregations

AddressingPolicyMapConfigurator (com.sun.xml.ws.addressing.policy.AddressingPolicyMapConfigurator)1 MtomPolicyMapConfigurator (com.sun.xml.ws.encoding.policy.MtomPolicyMapConfigurator)1 PolicyMapConfigurator (com.sun.xml.ws.policy.jaxws.spi.PolicyMapConfigurator)1 LinkedList (java.util.LinkedList)1