All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.slf4j.impl.StaticMDCBinder Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package org.slf4j.impl;

import org.slf4j.helpers.NOPMDCAdapter;
import org.slf4j.spi.MDCAdapter;

/**
 * This implementation is bound to {@link NOPMDCAdapter}.
 */
public class StaticMDCBinder {

	/**
	 * The unique instance of this class.
	 */
	public static final StaticMDCBinder SINGLETON = new StaticMDCBinder();

	private StaticMDCBinder() {
	}
	
	/**
	 * Currently this method always returns an instance of 
	 * {@link StaticMDCBinder}.
	 */
	public MDCAdapter getMDCA() {
		 return new NOPMDCAdapter();
	}
	
	public String	 getMDCAdapterClassStr() {
		return NOPMDCAdapter.class.getName();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy