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.

Author:
phopkins@gmail.com (Pete Hopkins)

Method Summary
 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


Copyright © 2006-2014 Google, Inc.. All Rights Reserved.