Tea Java Runtime API
Version 3.1.0

com.pdmfc.tea.modules.tdbc
Class SModuleTdbc

java.lang.Object
  |
  +--com.pdmfc.tea.modules.SModule
        |
        +--com.pdmfc.tea.modules.tdbc.SModuleTdbc

public class SModuleTdbc
extends SModule

Package of commands for relational databases access.


Constructor Summary
SModuleTdbc()
           
 
Method Summary
 void end()
          Signals that the package will no longer be used.
static java.lang.Object functionRegisterDriver(SObjFunction func, SContext context, java.lang.Object[] args)
           
static java.lang.Object functionSqlEncode(SObjFunction func, SContext context, java.lang.Object[] args)
           
 void init(STeaRuntime context)
          Populates the context with commands and variables.
 void stop()
          Signals that the package will not be used until a call to the start() method is made again.
 
Methods inherited from class com.pdmfc.tea.modules.SModule
addJavaFunction, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SModuleTdbc

public SModuleTdbc()
Method Detail

init

public void init(STeaRuntime context)
          throws STeaException
Description copied from class: SModule
Populates the context with commands and variables. If this method is redefined in a derived class then the implementation in the derived class is always expected to call this implementation.
Overrides:
init in class SModule
Following copied from class: com.pdmfc.tea.modules.SModule
Parameters:
context - Reference to the STeaRuntime object to be populated.

stop

public void stop()
Description copied from class: SModule
Signals that the package will not be used until a call to the start() method is made again. This implementation does nothing.
Overrides:
stop in class SModule

end

public void end()
Description copied from class: SModule
Signals that the package will no longer be used. That means that the commands that may have been created inside the SContext passed to the init() method will not be used again. Resources allocated to the commands may be freed. This implementation does nothing.
Overrides:
end in class SModule

functionRegisterDriver

public static java.lang.Object functionRegisterDriver(SObjFunction func,
                                                      SContext context,
                                                      java.lang.Object[] args)
                                               throws STeaException

functionSqlEncode

public static java.lang.Object functionSqlEncode(SObjFunction func,
                                                 SContext context,
                                                 java.lang.Object[] args)
                                          throws STeaException

Tea Java Runtime API
Version 3.1.0

© 2002 PDM&FC, All Rights Reserved.