liquibase.license.LicenseServiceFactory 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.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);
}
}