/*****************************************************************************
 * Copyright (c) PicoContainer Organization. All rights reserved.            *
 * ------------------------------------------------------------------------- *
 * The software in this package is published under the terms of the BSD      *
 * style license a copy of which has been included with this distribution in *
 * the LICENSE.txt file.                                                     *
 *                                                                           *
 * Idea by Rachel Davies, Original code by various                           *
 *****************************************************************************/
package org.nanocontainer.aop.dynaop;

import org.nanocontainer.aop.defaults.AopNodeBuilderDecorationDelegate;
import org.nanocontainer.script.groovy.GroovyNodeBuilder;

/**
 * A {@link org.nanocontainer.script.groovy.GroovyNodeBuilder} that supports
 * scripting of aspects via dynaop.
 *
 * @author Stephen Molitor
 * @version $Revision$
 */
public class DynaopGroovyNodeBuilder extends GroovyNodeBuilder {

    /**
     * Creates a new <code>DynaopGroovyNodeBuilder</code> that will use
     * the default @{link DynaopAspectsManager} to apply aspects.
     */
    public DynaopGroovyNodeBuilder() {
        super(new AopNodeBuilderDecorationDelegate(new DynaopAspectsManager()));
    }


}

/*****************************************************************************
 * Copyright (c) PicoContainer Organization. All rights reserved.            *
 * ------------------------------------------------------------------------- *
 * The software in this package is published under the terms of the BSD      *
 * style license a copy of which has been included with this distribution in *
 * the LICENSE.txt file.                                                     *
 *                                                                           *
 * Idea by Rachel Davies, Original code by various                           *
 *****************************************************************************/
package org.nanocontainer.aop.dynaop;

import org.nanocontainer.aop.defaults.AopNodeBuilderDecorationDelegate;
import org.nanocontainer.script.groovy.CustomGroovyNodeBuilder;

/**
 * A {@link org.nanocontainer.script.groovy.GroovyNodeBuilder} that supports
 * scripting of aspects via dynaop.
 *
 * @author Stephen Molitor
 * @version $Revision$
 */
public class DynaopGroovyNodeBuilder extends CustomGroovyNodeBuilder {

    /**
     * Creates a new <code>DynaopGroovyNodeBuilder</code> that will use
     * the default @{link DynaopAspectsManager} to apply aspects.
     */
    public DynaopGroovyNodeBuilder() {
        super(new AopNodeBuilderDecorationDelegate(new DynaopAspectsManager()), CustomGroovyNodeBuilder.SKIP_ATTRIBUTE_VALIDATION);
    }


}

Extend CustomGroovyNodeBuilder now as discussed on mailing list with Mauro.
Extend CustomGroovyNodeBuilder now as discussed on mailing list with Mauro.

git-svn-id: 12c26961da91f742cc34db10acb570e5af7eb648@2774 ac66bb80-72f5-0310-8d68-9f556cfffb23
