KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > mybatchfwk > utils > Property


1 /*
2  * Created on 22 oct. 06
3  */

4 package net.sf.mybatchfwk.utils;
5
6 import java.lang.annotation.ElementType JavaDoc;
7 import java.lang.annotation.Retention JavaDoc;
8 import java.lang.annotation.RetentionPolicy JavaDoc;
9 import java.lang.annotation.Target JavaDoc;
10
11 /**
12  * This annotation is used to assign a value to a property.<br>
13  * The value of the annotation corresponds to a key contained in the configuration.
14  * @author Jérôme Bertèche (cyberteche@users.sourceforge.net)
15  */

16 @Retention JavaDoc(RetentionPolicy.RUNTIME)
17 @Target JavaDoc(ElementType.FIELD)
18 public @interface Property {
19     
20     String JavaDoc value();
21 }
22
Popular Tags