com.funambol.syncclient.spap.launcher
Interface Launcher

All Known Implementing Classes:
JavaLauncher, Win32Launcher

public interface Launcher

This interface models a generic class to be able to execute a specific programs category.

Version:
$Id: Launcher.java,v 1.3 2007-12-22 18:09:18 nichele Exp $

Method Summary
 int execute(java.lang.String programName, boolean install, InstallationContext ctx)
          Executes the specified programName in the given workingDirectory.
 

Method Detail

execute

int execute(java.lang.String programName,
            boolean install,
            InstallationContext ctx)
            throws AssetInstallationException
Executes the specified programName in the given workingDirectory.

Parameters:
programName - the program to execute.
install - true if the program is the installation program, false if the program is the uninstallation program
ctx - installation context information
Throws:
AssetInstallationException - if an error occurs during execution.


Copyright © 2010 Funambol. All Rights Reserved.