liquibase.servicelocator.ServiceLocator 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.
The newest version!
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;
}