This package contains Groovy scripting support for NanoContainer assembly.
More information about the groovy scripting language may be found at http://groovy.codehaus.org/
Simple example usage in your groovy script: builder = new org.nanocontainer.script.groovy.GroovyNodeBuilder() pico = builder.container(parent:parent) { component(class:org.nanocontainer.testmodel.DefaultWebServerConfig) component(class:org.nanocontainer.testmodel.WebServerImpl) }
builder = new org.nanocontainer.script.groovy.GroovyNodeBuilder() pico = builder.container(parent:parent) { component(class:org.nanocontainer.testmodel.DefaultWebServerConfig) component(class:org.nanocontainer.testmodel.WebServerImpl) }
Often-times people need there own assembly commands that are needed for extending/enhancing the node builder tree.
Builds node trees of PicoContainers and Pico components using GroovyMarkup.