Package liquibase.servicelocator
Interface ServiceLocator
-
- All Superinterfaces:
Plugin
- All Known Implementing Classes:
StandardServiceLocator
public interface ServiceLocator extends Plugin
Abstraction for finding and creating instances of classes.StandardServiceLocatoris the main implementation, but can be overridden if need be.The ServiceLocator to use should be accessed via
Scope.getServiceLocator()
-
-
Field Summary
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> List<T>findInstances(Class<T> interfaceType)intgetPriority()
-
-
-
Method Detail
-
getPriority
int getPriority()
-
findInstances
<T> List<T> findInstances(Class<T> interfaceType) throws ServiceNotFoundException
- Throws:
ServiceNotFoundException
-
-