public interface NodeProcessor
Modifier and Type | Method and Description |
---|---|
DAGNode<Component,Dependency> |
processNode(DAGNode<Component,Dependency> node,
DAGNode<Component,Dependency> original)
Process a graph node.
|
@Nonnull DAGNode<Component,Dependency> processNode(@Nonnull DAGNode<Component,Dependency> node, @Nonnull DAGNode<Component,Dependency> original) throws InjectionException
node
- The node to process.original
- The original node. Some graph processing operations will change nodes prior
to processing due to changing some of their dependent nodes. In such
operations, this parameter will receive the original node, while node
is the current node.InjectionException