Package org.alfresco.util
Class ContextDependencyLister
java.lang.Object
org.alfresco.util.ContextDependencyLister
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgraphVizDependencies(String outFile) Renders the dependencies as GraphViz DotXMLstatic voidvoidprintDependencies(boolean beanLevel) Prints out the dependencies in text format
-
Field Details
-
DEFAULT_CONFIG_LOCATIONS
-
-
Constructor Details
-
ContextDependencyLister
-
ContextDependencyLister
public ContextDependencyLister()
-
-
Method Details
-
main
- Throws:
Exception
-
printDependencies
public void printDependencies(boolean beanLevel) Prints out the dependencies in text format -
graphVizDependencies
Renders the dependencies as GraphViz DotXML- Throws:
FileNotFoundException
-