View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * representation of a object that can execute a command.
5    *
6    * @author Grégory Borelli
7    * @version 2003/06/06 - 05:10:50 - gen 7.01
8    */
9   public interface GB_CommandExecute
10  {
11  
12      /***
13       * Execute a command and return the result of execution.
14       * If there are no return of the method. By convention use Boolean.TRUE.
15       *
16       * @param a_command GB_Command - the command to execute
17       *
18       * @return Object
19       */
20      Object executeCommand(
21              GB_Command a_command);
22  
23  }