org.apache.felix.deploymentadmin.spi
Class GetStorageAreaCommand

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

public class GetStorageAreaCommand
extends Command

Command that determines the storage area's of all bundles in the source deployment package of a deployment session.


Constructor Summary
GetStorageAreaCommand()
           
 
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.
 Map getStorageAreas()
          Determines the storage area's of all bundles in the source deployment package of a deployment session.
 
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

GetStorageAreaCommand

public GetStorageAreaCommand()
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.

getStorageAreas

public Map getStorageAreas()
Determines the storage area's of all bundles in the source deployment package of a deployment session.

Returns:
Map with File object references to the storage area's, they bundle symbolic name is used as a key in the Map.


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