1 /** 2 * - Digitalis Internal Framework v2.0 - 3 * 4 * (C) 2007, Digitalis Informatica. 5 * 6 * Distribuicao e Gestao de Informatica, Lda. 7 * Estrada de Paco de Arcos num.9 - Piso -1 8 * 2780-666 Paco de Arcos 9 * Telefone: (351) 21 4408990 10 * Fax: (351) 21 4408999 11 * http://www.digitalis.pt 12 */ 13 package pt.digitalis.dif.dem.annotations; 14 15 import java.lang.annotation.ElementType; 16 import java.lang.annotation.Retention; 17 import java.lang.annotation.RetentionPolicy; 18 import java.lang.annotation.Target; 19 20 import pt.digitalis.dif.dem.annotations.metaannotations.Primary; 21 22 23 /** This annotation is used to inject a list with all Providers on a Stage and should be used on a attribute. 24 * The Code Generation Module will set the annotated attribute consisting with a collection of all available providers. 25 * The attribute type can be List, Map, List <IProvider> or Map<String, IProvider>. 26 * 27 * @author Rodrigo Gonçalves <a href="mailto:rgoncalves@digitalis.pt">rgoncalves@digitalis.pt</a> 28 * @created 2007/05/11 29 */ 30 @Target(ElementType.FIELD) 31 @Retention(RetentionPolicy.RUNTIME) 32 @Primary 33 public @interface ProviderList { 34 }