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]);
}
Aggregations