KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > fractal > fraclet > annotation > FractalComponent


1 /*==============================================================================
2 Fraclet annotation - Copyright (C) 2002-2006 INRIA Futurs / LIFL
3 Fractal Component Model (contact: fractal@objectweb.org)
4
5 This library is free software; you can redistribute it and/or modify it under
6 the terms of the GNU Lesser General Public License as published by the Free
7 Software Foundation; either version 2.1 of the License, or any later version.
8
9 This library is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
12
13 You should have received a copy of the GNU Lesser General Public License along
14 with this library; if not, write to the Free Software Foundation, Inc.,
15 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
17 Initial developer(s): Nicolas Pessemier (nicolas.pessemier@lifl.fr)
18 ==============================================================================*/

19
20 package org.objectweb.fractal.fraclet.annotation;
21
22 import spoon.aval.annotation.structure.AValTarget;
23 import spoon.reflect.declaration.CtClass;
24
25 /**
26  * An annotation to generate Fractal-ADL files for the annotated Fractal component
27  * @author Nicolas Pessemier <Nicolas.Pessemier@lifl.fr>
28  *
29  */

30 @AValTarget(CtClass.class)
31 public @interface FractalComponent {
32     /**
33      *
34      * @return define the type of the component "primitive", "composite", ...
35      */

36     String JavaDoc controllerDesc() default "";
37 }
38
Popular Tags