Class ContextDependencyLister


  • public class ContextDependencyLister
    extends Object
    Helper class to list the dependencies between different spring context files that make up a full or partial Application Context. Useful when trying to produce paired-down application contexts for unit testing or embedding.
    Author:
    Nick Burch
    • Field Detail

      • DEFAULT_CONFIG_LOCATIONS

        public static final String[] DEFAULT_CONFIG_LOCATIONS
    • Constructor Detail

      • ContextDependencyLister

        public ContextDependencyLister​(String[] configLocations)
      • ContextDependencyLister

        public ContextDependencyLister()
    • Method Detail

      • printDependencies

        public void printDependencies​(boolean beanLevel)
        Prints out the dependencies in text format