Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.nanocontainer.script.groovy.buildernodes

This package contains default builder nodes for NanoContainer Groovy script assembly.

See:
Description

Class Summary
AbstractBuilderNode | Abstract base class for custom nodes.
AppendContainerNode | Sometimes it is worthwhile to split apart Nanocontainer building into functions.
BeanNode | Creates on-the-spot Javabeans configurations and registers the result with the container via pico.registerCompoenntInstance.
ChildContainerNode | Creates a new NanoContainer node.
ClassLoaderNode |
ClasspathNode |
ComponentNode |
DecoratingPicoContainerNode |
DoCallNode | Handles 'doCall' nodes.
GrantNode |
NewBuilderNode | Handles the child of container 'newBuilder' node.

## Package org.nanocontainer.script.groovy.buildernodes Description

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().

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2003-2007 Codehaus. All Rights Reserved.