KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > rmi > server > command > Executable


1 package org.sapia.ubik.rmi.server.command;
2
3
4 /**
5  * This interface is based on the command pattern; it models an executable
6  * unit of work.
7  *
8  * @author Yanick Duchesne
9  * <dl>
10  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
11  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
12  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
13  * </dl>
14  */

15 public interface Executable {
16   /**
17    * Performs this instance's logic.
18    *
19    * @return <code>null</code> or some return value, if it applies.
20    * @throws Throwable if an error occurs in this command's execution.
21    */

22   public Object JavaDoc execute() throws Throwable JavaDoc;
23 }
24
Popular Tags