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
    • 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
    • Constructor Detail

      • SpringPackageScanClassResolver

        public SpringPackageScanClassResolver(org.apache.commons.logging.Log logger)
    • 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.