1   package org.slf4j.impl;
2   
3   import org.slf4j.helpers.NOPMakerAdapter;
4   import org.slf4j.spi.MDCAdapter;
5   
6   
7   /**
8    * This implementation is bound to {@link NOPMakerAdapter}.
9    *
10   * @author Ceki Gülcü
11   */
12  public class StaticMDCBinder {
13  
14    
15    /**
16     * The unique instance of this class.
17     */
18    public static final StaticMDCBinder SINGLETON = new StaticMDCBinder();
19  
20    private StaticMDCBinder() {
21    }
22    
23    /**
24     * Currently this method always returns an instance of 
25     * {@link StaticMDCBinder}.
26     */
27    public MDCAdapter getMDCA() {
28       return new NOPMakerAdapter();
29    }
30    
31    public String  getMDCAdapterClassStr() {
32      return NOPMakerAdapter.class.getName();
33    }
34  }