|
CESE 1.4.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.simulogic.cese.ModelInstaller
public class ModelInstaller
The ModelInstaller installs models from jar files (as JavaBeans)
| Constructor Summary | |
|---|---|
ModelInstaller()
|
|
| Method Summary | |
|---|---|
void |
addJarFile(java.lang.String filename)
Installs model(s) as the Java Beans in the jar file First it loads all the Beans and resources into the JarClassLoader. |
java.lang.Object |
addUserBean(java.lang.ClassLoader loader,
java.lang.String name)
Adds the bean to the user tab on the panel. |
java.util.Vector |
getInstalledModels()
Returns newly installed models |
java.util.Vector |
getInstalledNames()
Returns newly installed models names |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelInstaller()
| Method Detail |
|---|
public java.util.Vector getInstalledNames()
public java.util.Vector getInstalledModels()
public void addJarFile(java.lang.String filename)
throws java.io.IOException
filename - full path to the jar file
java.io.IOException
public java.lang.Object addUserBean(java.lang.ClassLoader loader,
java.lang.String name)
throws java.io.IOException
loader - ClassLoader to use for instantiation and class resolutionname - Name of the bean and resource to use. The format should be
the full path to the resource i.e.
sunw/demo/buttons/OurButton.class.
java.io.IOException
|
CESE 1.4.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||