Constructor and Description |
---|
NodeInstantiator() |
Modifier and Type | Method and Description |
---|---|
Object |
apply(DAGNode<Component,Dependency> input) |
static NodeInstantiator |
create()
Create a node instantiator without a lifecycle manager.
|
static NodeInstantiator |
create(LifecycleManager mgr)
Create a node instantiator with a lifecycle manager.
|
abstract Object |
instantiate(DAGNode<Component,Dependency> node)
Instantiate a particular node in the graph.
|
public static NodeInstantiator create()
Create a node instantiator without a lifecycle manager.
public static NodeInstantiator create(@WillNotClose LifecycleManager mgr)
Create a node instantiator with a lifecycle manager.
mgr
- The lifecycle manager to use.public abstract Object instantiate(DAGNode<Component,Dependency> node) throws InjectionException
Instantiate a particular node in the graph.
node
- The node to instantiate.InjectionException