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
    • Field Summary

      • Fields inherited from class liquibase.servicelocator.DefaultPackageScanClassResolver

        log
    • Constructor Detail

      • SpringPackageScanClassResolver

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

      • findAllClasses

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

Copyright © 2017 Pivotal Software, Inc.. All rights reserved.