net.sf.farrago.fennel
Class FennelCmdExecutorImpl

java.lang.Object
  extended by net.sf.farrago.fennel.FennelCmdExecutorImpl
All Implemented Interfaces:
FennelCmdExecutor

public class FennelCmdExecutorImpl
extends Object
implements FennelCmdExecutor

FennelCmdExecutorImpl provides a default implementation for FennelCmdExecutor by calling FennelStorage.executeJavaCmd(net.sf.farrago.fem.fennel.FemCmd, long).

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/fennel/FennelCmdExecutorImpl.java#12 $
Author:
John V. Sichi

Constructor Summary
FennelCmdExecutorImpl()
           
 
Method Summary
 long executeJavaCmd(FemCmd cmd, FennelExecutionHandle execHandle)
          Executes one FemCmd with an optional execution handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FennelCmdExecutorImpl

public FennelCmdExecutorImpl()
Method Detail

executeJavaCmd

public long executeJavaCmd(FemCmd cmd,
                           FennelExecutionHandle execHandle)
                    throws SQLException
Description copied from interface: FennelCmdExecutor
Executes one FemCmd with an optional execution handle.

Specified by:
executeJavaCmd in interface FennelCmdExecutor
Parameters:
cmd - the command to be executed
execHandle - the execution handle used to communicate state information from Farrago to Fennel; set to null if there is no handle
Returns:
result handle as primitive
Throws:
SQLException