org.shiftone.jrat.util
Class Command

java.lang.Object
  extended by org.shiftone.jrat.util.Command

public class Command
extends java.lang.Object

Author:
jeff@shiftone.org (Jeff Drost)

Constructor Summary
Command()
           
 
Method Summary
protected  java.lang.Object call()
          implement this method if you want to return something
 java.lang.Object execute()
           
protected  void run()
          implement this method if you DO NOT want to return something
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Command

public Command()
Method Detail

run

protected void run()
            throws java.lang.Exception
implement this method if you DO NOT want to return something

Throws:
java.lang.Exception

call

protected java.lang.Object call()
                         throws java.lang.Exception
implement this method if you want to return something

Throws:
java.lang.Exception

execute

public java.lang.Object execute()