org.apache.log4j
Class MDC
java.lang.Object
org.apache.log4j.MDC
public final class MDC
- extends Object
This class behaves just like Log4j's MDC would - and so can cause issues with the redeployment of web
applications if the Objects stored in the threads Map cannot be garbage collected.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
put
public static void put(String key,
String value)
put
public static void put(String key,
Object value)
get
public static Object get(String key)
remove
public static void remove(String key)
clear
public static void clear()
getContext
public static Hashtable getContext()
Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.