View Javadoc

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.config;
14  
15  import pt.digitalis.dif.utils.annotations.Contribution;
16  
17  /**
18   * Interface that determines the registration interface that all applications should implement in order to register it's
19   * DEM entity packages for the DIF to pick them up. If not used DIF will not be able to search for DEM Entity classes
20   * 
21   * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a>
22   * @created Jul 23, 2007
23   */
24  
25  @Contribution
26  public interface IEntityRegistration {
27  
28      /**
29       * Registers new packages in the CodeGen utility for the ClassEnhance phase
30       * 
31       * @param registrator
32       *            the DEM registrator instance
33       */
34      public void registerEntitys(IDEMRegistrator registrator);
35  }