com.google.inject.grapher
Class GrapherModule
java.lang.Object
com.google.inject.AbstractModule
com.google.inject.grapher.GrapherModule
- All Implemented Interfaces:
- Module
public class GrapherModule
- extends AbstractModule
Module for the common bindings for InjectorGrapher
. You will also
need to bind a Module
that satisfies the Renderer
dependency.
If you want to use subtypes of the node and edge classes, or a different
node ID type, you will need to override the GraphingVisitor
binding
to specify the new type parameters.
- Author:
- phopkins@gmail.com (Pete Hopkins)
Method Summary |
protected void |
configure()
Configures a Binder via the exposed methods. |
Methods inherited from class com.google.inject.AbstractModule |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrapherModule
public GrapherModule()
configure
protected void configure()
- Description copied from class:
AbstractModule
- Configures a
Binder
via the exposed methods.
- Specified by:
configure
in class AbstractModule
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.