org.nanocontainer.script
Interface NodeBuilderDecorationDelegate

All Known Implementing Classes:
NullNodeBuilderDecorationDelegate

public interface NodeBuilderDecorationDelegate

Implementors of this class can be passed to org.nanocontainer.script.groovy.OldGroovyNodeBuilder's constructor to dynamically extend the core builder syntax. Note: Although this interface is currently only used by the Groovy org.nanocontainer.script.groovy.OldGroovyNodeBuilder class, there is nothing groovy going on here - nor in the AOP subclass org.nanocontainer.aop.defaults.AopNodeBuilderDecorationDelegate class. In other words, it should be easy to add AOP capabilities to the other scripting engines such as the XML ones.

Version:
$Revision: 2863 $
Author:
Paul Hammant, Aslak Hellesøy

Method Summary
 java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object parentElement)
           
 org.picocontainer.defaults.ComponentAdapterFactory decorate(org.picocontainer.defaults.ComponentAdapterFactory componentAdapterFactory, java.util.Map attributes)
           
 org.picocontainer.MutablePicoContainer decorate(org.picocontainer.MutablePicoContainer picoContainer)
           
 void rememberComponentKey(java.util.Map attributes)
           
 

Method Detail

decorate

org.picocontainer.defaults.ComponentAdapterFactory decorate(org.picocontainer.defaults.ComponentAdapterFactory componentAdapterFactory,
                                                            java.util.Map attributes)

decorate

org.picocontainer.MutablePicoContainer decorate(org.picocontainer.MutablePicoContainer picoContainer)

createNode

java.lang.Object createNode(java.lang.Object name,
                            java.util.Map attributes,
                            java.lang.Object parentElement)

rememberComponentKey

void rememberComponentKey(java.util.Map attributes)


Copyright © 2003-2010 Codehaus. All Rights Reserved.