KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > common > command > Command


1 /***************************************
2  * *
3  * Nukes: The OpenSource CMS *
4  * *
5  * Distributable under GPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  ***************************************/

9
10 package org.jboss.portal.common.command;
11
12 import org.jboss.portal.common.command.result.Result;
13
14 /**
15  * A business command.
16  *
17  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
18  * @version $Revision: 1.1.1.1 $
19  */

20 public interface Command
21 {
22    /**
23     * Execute the real business job.
24     */

25    Result execute() throws CommandException;
26
27    /**
28     * Returns the command configurator.
29     */

30    Configurator getConfigurator();
31 }
32
Popular Tags