org.jboss.slf4j
Class JBossMDCAdapter
java.lang.Object
org.jboss.slf4j.JBossMDCAdapter
- All Implemented Interfaces:
- org.slf4j.spi.MDCAdapter
public class JBossMDCAdapter
- extends Object
- implements org.slf4j.spi.MDCAdapter
Adapted from the corresponding slf4j-log4j adapter.
- Version:
- $Revision: 2784 $
- Author:
- Dimitris Andreadis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossMDCAdapter
public JBossMDCAdapter()
clear
public void clear()
- Specified by:
clear
in interface org.slf4j.spi.MDCAdapter
get
public String get(String key)
- Specified by:
get
in interface org.slf4j.spi.MDCAdapter
put
public void put(String key,
String val)
- Specified by:
put
in interface org.slf4j.spi.MDCAdapter
remove
public void remove(String key)
- Specified by:
remove
in interface org.slf4j.spi.MDCAdapter
getCopyOfContextMap
public Map getCopyOfContextMap()
- Specified by:
getCopyOfContextMap
in interface org.slf4j.spi.MDCAdapter
setContextMap
public void setContextMap(Map contextMap)
- Specified by:
setContextMap
in interface org.slf4j.spi.MDCAdapter
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.