View Javadoc

1   /**
2    * 2009, Digitalis Informatica. All rights reserved. Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos
3    * num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999 http://www.digitalis.pt
4    */
5   
6   package pt.digitalis.dif.controller.interfaces;
7   
8   /**
9    * Declares a contribution for any clean up tasks needed to execute upon every controller execution
10   *
11   * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a><br/>
12   * @created Oct 30, 2009
13   */
14  public interface IControllerCleanupTask {
15  
16      /**
17       * Performs the clean up task
18       * @param context TODO
19       * @param success
20       *            T if the stage was successfully executed
21       */
22      public void doTask(IDIFContext context, boolean success);
23  }