com.google.inject.grapher
Interface NodeIdFactory<K>
- Type Parameters:
K - The type for node IDs.
- All Known Implementing Classes:
- StringNodeIdFactory
public interface NodeIdFactory<K>
Factory for abstract identifiers for elements on the graph. Most graph nodes
will correspond directly to Keys, but we do this for additional
flexibility and because instances do not have separate Keys from the
interfaces they are bound to.
Node IDs are treated as opaque values by GraphingVisitor and the
other classes in this package.
- Author:
- phopkins@gmail.com (Pete Hopkins)
getClassNodeId
K getClassNodeId(Key<?> key)
getInstanceNodeId
K getInstanceNodeId(Key<?> key)
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.