com.funambol.syncclient.spap.launcher
Class Win32Launcher

java.lang.Object
  extended by com.funambol.syncclient.spap.launcher.Win32Launcher
All Implemented Interfaces:
Launcher

public class Win32Launcher
extends java.lang.Object
implements Launcher

This class represents a Laucher for the execution of the win program.

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

Constructor Summary
Win32Launcher()
           
 
Method Summary
 int execute(java.lang.String programName, boolean install, InstallationContext ctx)
          Executes the win program with given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Win32Launcher

public Win32Launcher()
Method Detail

execute

public int execute(java.lang.String programName,
                   boolean install,
                   InstallationContext ctx)
            throws AssetInstallationException
Executes the win program with given name.

Specified by:
execute in interface Launcher
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 the execution


Copyright © 2010 Funambol. All Rights Reserved.