org.jboss.logging.log4j
Class Log4jMDCProvider

java.lang.Object
  extended by org.jboss.logging.log4j.Log4jMDCProvider
All Implemented Interfaces:
org.jboss.logging.MDCProvider

public class Log4jMDCProvider
extends Object
implements org.jboss.logging.MDCProvider

Log4j implementation of MDCProvider.

Author:
Jason T. Greene

Constructor Summary
Log4jMDCProvider()
           
 
Method Summary
 Object get(String key)
           
 Map<String,Object> getMap()
           
 void put(String key, Object val)
           
 void remove(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jMDCProvider

public Log4jMDCProvider()
Method Detail

get

public Object get(String key)
Specified by:
get in interface org.jboss.logging.MDCProvider

getMap

public Map<String,Object> getMap()
Specified by:
getMap in interface org.jboss.logging.MDCProvider

put

public void put(String key,
                Object val)
Specified by:
put in interface org.jboss.logging.MDCProvider

remove

public void remove(String key)
Specified by:
remove in interface org.jboss.logging.MDCProvider


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.