K - The type for node IDs.public interface ImplementationNode<K>
Dependencys and are
bound to InterfaceNodes. These nodes will often have fields for
Members that are InjectionPoints.DependencyEdge| Modifier and Type | Interface and Description |
|---|---|
static interface |
ImplementationNode.Factory<K,T extends ImplementationNode<K>>
Factory interface for
ImplementationNodes. |
| Modifier and Type | Method and Description |
|---|---|
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) |
void setClassKey(Key<?> key)
Key that this node is for. Used when the node is
representing a class that Guice will instantiate.void setInstance(Object instance)
Object that's the already-created instance. Used when
this node is represeting the instance instead of a class.void setSource(Object source)
void addMember(Member member)
Copyright © 2006-2012 Google, Inc.. All Rights Reserved.