org.apache.felix.deploymentadmin.spi
Class UpdateCommand

java.lang.Object
  extended by org.apache.felix.deploymentadmin.spi.Command
      extended by org.apache.felix.deploymentadmin.spi.UpdateCommand

public class UpdateCommand
extends Command

Command that installs all bundles described in the source deployment package of a deployment session. If a bundle was already defined in the target deployment package of the same session it is updated, otherwise the bundle is simply installed.


Constructor Summary
UpdateCommand()
           
 
Method Summary
 void execute(DeploymentSessionImpl session)
          Executes the command, the specified DeploymentSession can be used to obtain various information about the deployment session which the command is part of.
 
Methods inherited from class org.apache.felix.deploymentadmin.spi.Command
addCommit, addRollback, cancel, commit, isCancelled, rollback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateCommand

public UpdateCommand()
Method Detail

execute

public void execute(DeploymentSessionImpl session)
             throws DeploymentException
Description copied from class: Command
Executes the command, the specified DeploymentSession can be used to obtain various information about the deployment session which the command is part of.

Specified by:
execute in class Command
Parameters:
session - The deployment session this command is part of.
Throws:
DeploymentException - Thrown if the command could not successfully execute.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.