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

liquibase.servicelocator.ServiceLocator Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show 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; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy