org.jboss.logging
Class NullMDCProvider

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

public class NullMDCProvider
extends Object
implements MDCProvider

An MDC provider which does nothing.

Author:
Jason T. Greene

Constructor Summary
NullMDCProvider()
           
 
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

NullMDCProvider

public NullMDCProvider()
Method Detail

get

public Object get(String key)
Specified by:
get in interface MDCProvider

getMap

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

put

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

remove

public void remove(String key)
Specified by:
remove in interface MDCProvider


Copyright © 2009 JBoss Inc.. All Rights Reserved.