com.google.inject.grapher
Interface ImplementationNode<K>

Type Parameters:
K - The type for node IDs.
All Known Implementing Classes:
ImplementationNodeFactory.GraphvizNodeAdaptor

public interface ImplementationNode<K>

Node for classes and instances that have Dependencys and are bound to InterfaceNodes. These nodes will often have fields for Members that are InjectionPoints.

Author:
phopkins@gmail.com (Pete Hopkins)
See Also:
DependencyEdge

Nested Class Summary
static interface ImplementationNode.Factory<K,T extends ImplementationNode<K>>
          Factory interface for ImplementationNodes.
 
Method Summary
 void addMember(Member member)
           
 void setClassKey(Key<?> key)
          Sets the Key that this node is for.
 void setInstance(Object instance)
          Sets the Object that's the already-created instance.
 void setSource(Object source)
           
 

Method Detail

setClassKey

void setClassKey(Key<?> key)
Sets the Key that this node is for. Used when the node is representing a class that Guice will instantiate.


setInstance

void setInstance(Object instance)
Sets the Object that's the already-created instance. Used when this node is represeting the instance instead of a class.


setSource

void setSource(Object source)

addMember

void addMember(Member member)


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