org.apache.felix.deploymentadmin.spi
Class DropResourceCommand

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

public class DropResourceCommand
extends Command

Command that drops resources.


Constructor Summary
DropResourceCommand(CommitResourceCommand commitCommand)
          Creates an instance of this command.
 
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

DropResourceCommand

public DropResourceCommand(CommitResourceCommand commitCommand)
Creates an instance of this command. The commit command is used to make sure the resource processors used to drop resources will be committed at a later stage in the process.

Parameters:
commitCommand - The commit command that will be executed at a later stage in the process.
Method Detail

execute

public void execute(DeploymentSessionImpl session)
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.


Copyright © 2011 Apache Software Foundation. All Rights Reserved.