001    /*****************************************************************************
002     * Copyright (c) PicoContainer Organization. All rights reserved.            *
003     * ------------------------------------------------------------------------- *
004     * The software in this package is published under the terms of the BSD      *
005     * style license a copy of which has been included with this distribution in *
006     * the LICENSE.txt file.                                                     *
007     *                                                                           *
008     * Idea by Rachel Davies, Original code by various                           *
009     *****************************************************************************/
010    package org.nanocontainer.script.groovy;
011    
012    import org.nanocontainer.aop.defaults.AopNodeBuilderDecorationDelegate;
013    import org.nanocontainer.aop.dynaop.DynaopAspectsManager;
014    
015    /**
016     * A {@link org.nanocontainer.script.groovy.GroovyNodeBuilder} that supports
017     * scripting of aspects via dynaop.
018     *
019     * @author Stephen Molitor
020     * @version $Revision: 3145 $
021     */
022    public class DynaopGroovyNodeBuilder extends GroovyNodeBuilder {
023    
024        /**
025         * Creates a new <code>DynaopGroovyNodeBuilder</code> that will use
026         * the default @{link DynaopAspectsManager} to apply aspects.
027         */
028        public DynaopGroovyNodeBuilder() {
029            super(new AopNodeBuilderDecorationDelegate(new DynaopAspectsManager()), GroovyNodeBuilder.SKIP_ATTRIBUTE_VALIDATION);
030        }
031    
032    
033    }