org.springframework.boot.liquibase

Class SpringPackageScanClassResolver

  • 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.
    Since:
    1.0.0
    • Field Summary

      • Fields inherited from class liquibase.servicelocator.DefaultPackageScanClassResolver

        log
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected void findAllClasses(java.lang.String packageName, java.lang.ClassLoader loader) 
      • Methods inherited from class liquibase.servicelocator.DefaultPackageScanClassResolver

        addClassLoader, addFilter, addFoundClass, addFoundClass, addIfMatching, customResourceLocator, find, findByFilter, findImplementations, findInAllClasses, getClassLoaders, getFoundClasses, getResources, loadImplementationsInJar, removeFilter, setClassLoaders
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringPackageScanClassResolver

        public SpringPackageScanClassResolver(org.apache.commons.logging.Log logger)
    • Method Detail

      • findAllClasses

        protected void findAllClasses(java.lang.String packageName,
                                      java.lang.ClassLoader loader)
        Overrides:
        findAllClasses in class liquibase.servicelocator.DefaultPackageScanClassResolver