- java.lang.Object
-
- liquibase.servicelocator.DefaultPackageScanClassResolver
-
- org.springframework.boot.liquibase.SpringPackageScanClassResolver
-
- All Implemented Interfaces:
- liquibase.servicelocator.PackageScanClassResolver
public class SpringPackageScanClassResolver
extends liquibase.servicelocator.DefaultPackageScanClassResolver
Liquibase PackageScanClassResolver
implementation that uses Spring's resource
scanning to locate classes. This variant is safe to use with Spring Boot packaged
executable JARs.
- Author:
- Phillip Webb
-
-
Field Summary
-
Fields inherited from class liquibase.servicelocator.DefaultPackageScanClassResolver
log
-
Method Summary
Methods
Modifier and Type |
Method and Description |
protected void |
find(liquibase.servicelocator.PackageScanFilter test,
String packageName,
ClassLoader loader,
Set<Class<?>> classes) |
-
Methods inherited from class liquibase.servicelocator.DefaultPackageScanClassResolver
addClassLoader, addFilter, addIfMatching, customResourceLocator, find, findByFilter, findImplementations, getClassLoaders, getResources, loadImplementationsInJar, removeFilter, setClassLoaders
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
find
protected void find(liquibase.servicelocator.PackageScanFilter test,
String packageName,
ClassLoader loader,
Set<Class<?>> classes)
- Overrides:
find
in class liquibase.servicelocator.DefaultPackageScanClassResolver
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.