|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- The type for node IDs.public interface ImplementationNode<K>
Node for classes and instances that have Dependency
s and are
bound to InterfaceNode
s. These nodes will often have fields for
Member
s that are InjectionPoint
s.
DependencyEdge
Nested Class Summary | |
---|---|
static interface |
ImplementationNode.Factory<K,T extends ImplementationNode<K>>
Factory interface for ImplementationNode s. |
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 |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |