com.google.inject.grapher
Interface BindingEdge.Factory<K,T extends BindingEdge<K>>
- Type Parameters:
K - The type for node IDs.T - The BindingEdge sub-type that this factory provides.
- All Known Implementing Classes:
- BindingEdgeFactory
- Enclosing interface:
- BindingEdge<K>
public static interface BindingEdge.Factory<K,T extends BindingEdge<K>>
Factory interface for BindingEdges. Renderer implementations will
need to provide an implementation for this.
newBindingEdge
T newBindingEdge(K fromId,
K toId)
- Creates a new
BindingEdge instance and adds it to the graph.
- Parameters:
fromId - Node ID for the interface node.toId - Node ID for the implementation (class or instance) node.
- Returns:
- The newly created and added
BindingEdge.
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.