Tea Java Runtime API
Version 3.2.5

com.pdmfc.tea.runtime
Interface SObjFunction

All Known Subinterfaces:
STosMethod, STosObj
All Known Implementing Classes:
SCallableStatement, SConnection, SDate, SFileInput, SFileOutput, SHashtable, SInput, SJavaMethod, SLambdaFunction, SLambdaFunctionVarArg, SMethodLoader, SOutput, SPlainServerSocket, SPlainSocketBase, SPreparedStatement, SResultSet, SSocketBase, SSslSocketBase, SStatement, STosMethod, STosMethodVarArg, STosObj, STosTeaMethod, STosTeaObj, SUrlInput, SVector, SXmlParser, SZipFile

public interface SObjFunction

Tea commands are represented by objects derived from this class.


Method Summary
 java.lang.Object exec(SObjFunction func, SContext context, java.lang.Object[] args)
          Executes the command.
 

Method Detail

exec

java.lang.Object exec(SObjFunction func,
                      SContext context,
                      java.lang.Object[] args)
                      throws STeaException
Executes the command.

Parameters:
func - The SObjFunction that led to call this function. Most of the time is the same as the this object.
context - The context where the command should be executed.
args - Array with the arguments passed to the command.
Returns:
An Object object.
Throws:
STeaException - Thrown if there were problems executing the command.

Tea Java Runtime API
Version 3.2.5

© 2009 PDM&FC, All Rights Reserved.