KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nanocontainer > script > groovy > DynaopGroovyNodeBuilder


1 /*****************************************************************************
2  * Copyright (c) PicoContainer Organization. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  * *
8  * Idea by Rachel Davies, Original code by various *
9  *****************************************************************************/

10 package org.nanocontainer.script.groovy;
11
12 import org.nanocontainer.aop.defaults.AopNodeBuilderDecorationDelegate;
13 import org.nanocontainer.aop.dynaop.DynaopAspectsManager;
14
15 /**
16  * A {@link org.nanocontainer.script.groovy.GroovyNodeBuilder} that supports
17  * scripting of aspects via dynaop.
18  *
19  * @author Stephen Molitor
20  * @version $Revision: 3145 $
21  */

22 public class DynaopGroovyNodeBuilder extends GroovyNodeBuilder {
23
24     /**
25      * Creates a new <code>DynaopGroovyNodeBuilder</code> that will use
26      * the default @{link DynaopAspectsManager} to apply aspects.
27      */

28     public DynaopGroovyNodeBuilder() {
29         super(new AopNodeBuilderDecorationDelegate(new DynaopAspectsManager()), GroovyNodeBuilder.SKIP_ATTRIBUTE_VALIDATION);
30     }
31
32
33 }
34
Popular Tags