@Override
public final Void execute(final Input values, final ExecutionContext context) {
for (MapLayer layer : values.map.getLayers()) {
checkCancelState(context);
if (layer instanceof AbstractFeatureSourceLayer) {
((AbstractFeatureSourceLayer) layer).setStyle(new StyleSupplier() {
@Override
public Style load(final MfClientHttpRequestFactory requestFactory,
final Object featureSource,
final MapfishMapContext mapContext) throws Exception {
return values.style.getStyle(values.clientHttpRequestFactory, mapContext);