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.
    Author:
    Phillip Webb
    • Constructor Detail

      • SpringPackageScanClassResolver

        public SpringPackageScanClassResolver(Log logger)
    • Method Detail

      • findAllClasses

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