
io.vrap.rmf.base.client.MDCContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rmf-java-base Show documentation
Show all versions of rmf-java-base Show documentation
The e-commerce SDK from commercetools for Java
package io.vrap.rmf.base.client;
import java.util.Map;
import org.slf4j.MDC;
public class MDCContext implements Context {
final Map contextMap;
public MDCContext() {
contextMap = MDC.getCopyOfContextMap();
}
public MDCContext(Map contextMap) {
this.contextMap = contextMap;
}
@Override
public Map getValue() {
return contextMap;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy