org.nanocontainer.script.groovy.buildernodes |
Untitled Document
This package contains default builder nodes for NanoContainer Groovy script assembly. Each class represents one type of node that will be handled.
The following diagram shows the typical relations in the builder nodes.
In other words:
- GroovyNodeBuilder contains a Map of CustomGroovyNodes that are keyed by CustomGroovyNode.getNodeName(). It uses this map to locate handlers whenever a groovy script node is encountered.
- For each GroovyScriptNode encountered, an attempt to match on a handler is performed. If one is found, then it calls CustomGroovyNode.createNewNode().
- Most (if not all) of the groovy nodes derive from the AbstractCustomBuilderNode that provides services such as attribute placeholding, and default implementation of getNodeName().
|
Java Source File Name | Type | Comment |
AbstractBuilderNode.java | Class | Abstract base class for custom nodes. |
AppendContainerNode.java | Class | Sometimes it is worthwhile to split apart Nanocontainer building
into functions. |
BeanNode.java | Class | Creates on-the-spot Javabeans configurations and registers the result with
the container via pico.registerCompoenntInstance. |
ChildContainerNode.java | Class | Creates a new NanoContainer node. |
ClassLoaderNode.java | Class | |
ClasspathNode.java | Class | |
ComponentNode.java | Class | |
DecoratingPicoContainerNode.java | Class | |
DoCallNode.java | Class | Handles 'doCall' nodes. |
GrantNode.java | Class | |
NewBuilderNode.java | Class | Handles the child of container 'newBuilder' node. |
TestAppendContainerNode.java | Class | |