org.apache.felix.deploymentadmin.spi
Class ProcessResourceCommand
java.lang.Object
org.apache.felix.deploymentadmin.spi.Command
org.apache.felix.deploymentadmin.spi.ProcessResourceCommand
public class ProcessResourceCommand
- extends Command
Command that processes all the processed resources in the source deployment package
of a deployment session by finding their Resource Processors and having those process
the resources.
Constructor Summary |
ProcessResourceCommand(CommitResourceCommand commitCommand)
Creates an instance of this command, the CommitCommand is used
to ensure that all used ResourceProcessor s will be committed at a later
stage in the deployment session. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessResourceCommand
public ProcessResourceCommand(CommitResourceCommand commitCommand)
- Creates an instance of this command, the
CommitCommand
is used
to ensure that all used ResourceProcessor
s will be committed at a later
stage in the deployment session.
- Parameters:
commitCommand
- The CommitCommand
that will commit all resource processors used in this command.
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.