liquibase.logging.mdc.MdcManagerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
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);
}
}