Class GuiceNode
- java.lang.Object
-
- com.yahoo.container.di.componentgraph.core.Node
-
- com.yahoo.container.di.componentgraph.core.GuiceNode
-
public final class GuiceNode extends Node
- Author:
- Tony Vaagenes, gjoranv, ollivir
-
-
Constructor Summary
Constructors Constructor Description GuiceNode(java.lang.Object myInstance, java.lang.annotation.Annotation annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
componentType()
java.util.Set<com.yahoo.vespa.config.ConfigKey<com.yahoo.config.ConfigInstance>>
configKeys()
void
inject(Node component)
com.google.inject.Key<?>
instanceKey()
java.lang.Class<?>
instanceType()
java.lang.String
label()
protected java.lang.Object
newInstance()
java.util.List<Node>
usedComponents()
The components actually used by this node.-
Methods inherited from class com.yahoo.container.di.componentgraph.core.Node
component, componentId, constructedInstance, constructInstance, equalEdges, equals, hashCode, idAndType, injectAll, packageName, syntheticComponentId, toString
-
-
-
-
Method Detail
-
configKeys
public java.util.Set<com.yahoo.vespa.config.ConfigKey<com.yahoo.config.ConfigInstance>> configKeys()
- Specified by:
configKeys
in classNode
-
instanceKey
public com.google.inject.Key<?> instanceKey()
- Specified by:
instanceKey
in classNode
-
instanceType
public java.lang.Class<?> instanceType()
- Specified by:
instanceType
in classNode
-
componentType
public java.lang.Class<?> componentType()
- Specified by:
componentType
in classNode
-
usedComponents
public java.util.List<Node> usedComponents()
Description copied from class:Node
The components actually used by this node. Consist of a subset of the injected nodes + subset of the global nodes.- Specified by:
usedComponents
in classNode
-
newInstance
protected java.lang.Object newInstance()
- Specified by:
newInstance
in classNode
-
-