org.sapia.ubik.rmi.server.command
Class Command

java.lang.Object
  extended by org.sapia.ubik.rmi.server.command.Command
All Implemented Interfaces:
java.io.Serializable, Executable
Direct Known Subclasses:
RMICommand

public abstract class Command
extends java.lang.Object
implements Executable, java.io.Serializable

A command class - implements the Command pattern.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site
See Also:
Serialized Form

Constructor Summary
Command()
          Constructor for Command.
 
Method Summary
abstract  java.lang.Object execute()
          This method executes this command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Command

public Command()
Constructor for Command.

Method Detail

execute

public abstract java.lang.Object execute()
                                  throws java.lang.Throwable
This method executes this command.

Specified by:
execute in interface Executable
Returns:
any value returned by this method.
Throws:
java.lang.Throwable - if an error occurs executing this command.


Copyright © 2010 Sapia OSS. All Rights Reserved.