|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cvm.ucm.repository.SourceDBLoader
public class SourceDBLoader
This class retrieves a Macro from a database given a function name. There is no overloading of a function name. The schema for the table Macros, stored in the Repository db, is {name:string, returnType:string, paramTypeList:string, paramNameList:string, script:string}.
Method Summary | |
---|---|
static SourceDBLoader |
Instance(java.sql.Connection c)
* This is the Instance implementation of Singleton Design Pattern. |
Macro |
loader(java.lang.String name)
Construct the Macro object from the information stored in the database |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SourceDBLoader Instance(java.sql.Connection c)
c
- Connection DB object.
public Macro loader(java.lang.String name) throws java.lang.Exception
loader
in interface Sources
name
- : the name of the function
java.lang.Exception
Macro
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |