/wro4j-core/src/main/java/ro/isdc/wro/config/support/ContextPropagatingCallable.java
private final Callable<T> decorated; private final String correlationId;
private final String correlationId; private final Callable<T> decorated;
import static org.apache.commons.lang3.Validate.notNull; import java.util.concurrent.Callable; import ro.isdc.wro.WroRuntimeException; import ro.isdc.wro.config.Context; public class ContextPropagatingCallable<T> implements Callable<T>, Runnable { <extra_id_0> public ContextPropagatingCallable(final Callable<T> decorated) { notNull(decorated); this.decorated = decorated; this.correlationId = Context.getCorrelationId(); } public static <T> Callable<T> decorate(final Callable<T> callable) {