|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncclient.spap.launcher.JavaLauncher
public class JavaLauncher
This class represents a Laucher
for the execution of java class.
It uses the SimpleClassLoader
in order to load the class and
executes the method main(String[] args)
SimpleClassLoader
Constructor Summary | |
---|---|
JavaLauncher()
|
Method Summary | |
---|---|
int |
execute(java.lang.String programName,
boolean install,
InstallationContext ctx)
Executes the class with given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaLauncher()
Method Detail |
---|
public int execute(java.lang.String programName, boolean install, InstallationContext ctx) throws AssetInstallationException
execute
in interface Launcher
programName
- the program to execute.install
- true
if the program is the installation program,
false
if the program is the uninstallation programctx
- installation context information
AssetInstallationException
- if the java class is not found or an error occurs during execution.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |