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

liquibase.logging.mdc.MdcManagerFactory Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy