|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.dbmain.jidbm.DBMClassLoader
public class DBMClassLoader
Class loader for Java plug-ins in DB-MAIN.
DB-MAIN does not use the system class loader because all classes loaded through the system class loader will never be unloaded. To allow the program to let reedit the source for a class, and then recompile and reload it, we need to work with a different class loader. To work, the loaded class must be in a different directory than jidbm.jar package.
| Constructor Summary | |
|---|---|
DBMClassLoader()
|
|
| Method Summary | |
|---|---|
static int |
executeAnalysisFunction(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
int oid,
java.lang.String param)
Method called by DB-MAIN to load a Java plug-in in the schema analysis assistant. |
static void |
executeClass(java.lang.String classpath,
java.lang.String cname)
Method called by DB-MAIN to load a Java plug-in through the menu File/Execute plug-in... |
static void |
executeExternMDL(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
java.lang.Object[] o)
Method called by DB-MAIN to load a Java plug-in through a methodology. |
static void |
executePatternFunction(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
int n,
java.lang.String var1,
java.lang.String var2,
java.lang.String var3,
java.lang.String var4,
java.lang.String var5)
Method called by DB-MAIN to load a Java plug-in in the execute pattern function of text analysis assistant. |
static boolean |
executeTransfoClass(java.lang.String classpath,
java.lang.String fname,
int oid,
int[] toid)
Method called by DB-MAIN to load the Transfo Java plug-in (except for data integration preprocessing). |
static boolean |
executeTransfoIntegrationClass(java.lang.String classpath,
java.lang.String fname,
int moid,
int[] tmoid,
int soid,
int[] tsoid,
java.lang.String sup,
int[] tsuoid,
short type)
Method called by DB-MAIN to load the Transfo Java plug-in for the data integration preprocessing. |
static int |
executeTransformationFunction(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
int[] toid,
int conf)
Method called by DB-MAIN to load a Java plug-in in the advanced global transformation assistant. |
static int |
executeVerifFKFunction(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
int grid1,
int grid2,
char type)
Method called by DB-MAIN to load a Java plug-in in the referential key assistant. |
static java.lang.String |
findJarMainClass(java.lang.String jarname)
Method called by DB-MAIN to load a Java plug-in through the menu File/Execute plug-in... |
static java.lang.ClassLoader |
getClassLoader(java.lang.String cname)
Method for retrieving the ClassLoader used for the last load of a specified class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBMClassLoader()
| Method Detail |
|---|
public static java.lang.ClassLoader getClassLoader(java.lang.String cname)
class - name
public static void executeClass(java.lang.String classpath,
java.lang.String cname)
classpath - the local classpath.cname - the class name or jar file.public static java.lang.String findJarMainClass(java.lang.String jarname)
classpath - the local classpath.jarname - the jar filename (with absolute path).
public static void executeExternMDL(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
java.lang.Object[] o)
classpath - the local classpath.cname - the class name or jar file.fname - the function name.o - the object array containing parameters for external method.
public static boolean executeTransfoClass(java.lang.String classpath,
java.lang.String fname,
int oid,
int[] toid)
classpath - the local classpath.fname - the function name.oid - the object identifier of transformed object.toid - the object identifier array.
public static boolean executeTransfoIntegrationClass(java.lang.String classpath,
java.lang.String fname,
int moid,
int[] tmoid,
int soid,
int[] tsoid,
java.lang.String sup,
int[] tsuoid,
short type)
classpath - the local classpath.fname - the function name.moid - the object identifier of master object.tmoid - the element object identifier array of master object.soid - the object identifier of slave object.tsoid - the element object identifier array of slave object.sup - the name of super-type object.tsuoid - the element object identifier array of super-type object.type - the type of strategy integration.
public static int executeAnalysisFunction(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
int oid,
java.lang.String param)
classpath - the local classpath.cname - the class name or jar file.fname - the function name.oid - the identifier of object to be analysed.param - the parameters of function fname.
public static int executeTransformationFunction(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
int[] toid,
int conf)
classpath - the local classpath.cname - the class name or jar file.fname - the function name.toid - the identifier array of objects to be transformed.
public static void executePatternFunction(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
int n,
java.lang.String var1,
java.lang.String var2,
java.lang.String var3,
java.lang.String var4,
java.lang.String var5)
classpath - the local classpath.cname - the class name or jar file.fname - the function name.n - the number of parameters.var1 - the first string parameter.var2 - the second string parameter.var3 - the third string parameter.var4 - the fourth string parameter.var5 - the fith string parameter.
public static int executeVerifFKFunction(java.lang.String classpath,
java.lang.String cname,
java.lang.String fname,
int grid1,
int grid2,
char type)
classpath - the local classpth.cname - the class name.fname - the function name.grid1 - the origin group or attribute.grid2 - the target group.type - the type of constraint.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||