Class ComponentRegistryNode
- java.lang.Object
-
- com.yahoo.container.di.componentgraph.core.Node
-
- com.yahoo.container.di.componentgraph.core.ComponentRegistryNode
-
public class ComponentRegistryNode extends Node
- Author:
- Tony Vaagenes, gjoranv, ollivir
-
-
Constructor Summary
Constructors Constructor Description ComponentRegistryNode(java.lang.Class<?> componentClass)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
componentClass()
java.lang.Class<?>
componentType()
java.util.Set<com.yahoo.vespa.config.ConfigKey<com.yahoo.config.ConfigInstance>>
configKeys()
static boolean
equalNodeEdges(java.util.List<Node> edges, java.util.List<Node> otherEdges)
boolean
equals(java.lang.Object other)
int
hashCode()
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, idAndType, inject, injectAll, packageName, syntheticComponentId
-
-
-
-
Method Detail
-
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
-
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
-
componentClass
public java.lang.Class<?> componentClass()
-
configKeys
public java.util.Set<com.yahoo.vespa.config.ConfigKey<com.yahoo.config.ConfigInstance>> configKeys()
- Specified by:
configKeys
in classNode
-
-