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

liquibase.license.LicenseServiceFactory Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
package liquibase.license;

import liquibase.plugin.AbstractPluginFactory;

public class LicenseServiceFactory extends AbstractPluginFactory {

    private LicenseServiceFactory() {
    }

    @Override
    protected Class getPluginClass() {
        return LicenseService.class;
    }

    @Override
    protected int getPriority(LicenseService obj, Object... args) {
        return obj.getPriority();
    }

    public LicenseService getLicenseService() {
        return getPlugin();
    }

    public void unregister(LicenseService service) {
        this.removeInstance(service);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy