Package com.google.inject.grapher
Interface InjectorGrapher
-
- All Known Implementing Classes:
AbstractInjectorGrapher
,GraphvizGrapher
public interface InjectorGrapher
Guice injector grapher. Renders the guice dependency graph for an injector. It can render the whole dependency graph or just transitive dependencies of a given set of nodes.- Since:
- 4.0 (since 2.0 as a concrete class with a different API)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
graph(Injector injector)
Graphs the guice dependency graph for the given injector using default starting keys.void
graph(Injector injector, Set<Key<?>> root)
Graphs the guice dependency graph for the given injector using the given starting keys and their transitive dependencies.
-
-
-
Method Detail
-
graph
void graph(Injector injector) throws IOException
Graphs the guice dependency graph for the given injector using default starting keys.- Throws:
IOException
-
graph
void graph(Injector injector, Set<Key<?>> root) throws IOException
Graphs the guice dependency graph for the given injector using the given starting keys and their transitive dependencies.- Throws:
IOException
-
-