Examples of rootedAt()


Examples of com.google.inject.grapher.InjectorGrapher.rootedAt()

        Injector localInjector = Guice.createInjector(new GrapherModule(), new GraphvizModule());
        GraphvizRenderer renderer = localInjector.getInstance(GraphvizRenderer.class);
        renderer.setOut(out).setRankdir("TB");
        InjectorGrapher g = localInjector.getInstance(InjectorGrapher.class).of(injector);
        if (roots != null) {
            g.rootedAt(roots);
        }
        g.graph();
        return fixupGraph(baos.toString("UTF-8"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.