liquibase.logging.mdc.MdcManagerFactory Maven / Gradle / Ivy
package liquibase.logging.mdc;
import liquibase.plugin.AbstractPluginFactory;
public class MdcManagerFactory extends AbstractPluginFactory {
private MdcManagerFactory() {
}
@Override
protected Class getPluginClass() {
return MdcManager.class;
}
@Override
protected int getPriority(MdcManager obj, Object... args) {
return obj.getPriority();
}
public MdcManager getMdcManager() {
return getPlugin();
}
public void unregister(MdcManager manager) {
this.removeInstance(manager);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy