liquibase.servicelocator.ServiceLocator Maven / Gradle / Ivy
package liquibase.servicelocator;
import liquibase.Scope;
import liquibase.exception.ServiceNotFoundException;
import liquibase.plugin.Plugin;
import java.util.List;
/**
* Abstraction for finding and creating instances of classes.
* {@link StandardServiceLocator} is the main implementation, but can be overridden if need be.
*
* The ServiceLocator to use should be accessed via {@link Scope#getServiceLocator()}
*/
public interface ServiceLocator extends Plugin {
int getPriority();
List findInstances(Class interfaceType) throws ServiceNotFoundException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy