Package org.glassfish.deployment.admin
Class InstanceValidateRemoteDirDeploymentCommand
- java.lang.Object
-
- org.glassfish.deployment.admin.InstanceValidateRemoteDirDeploymentCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="_instanceValidateRemoteDirDeployment") @PerLookup @ExecuteOn(INSTANCE) public class InstanceValidateRemoteDirDeploymentCommand extends Object implements AdminCommand
Instance-only command which makes sure that a deployment directory seems to be the same when viewed from this instance as when viewed from the DAS.The DAS computes a checksum for the deployment directory as it sees it and passes it as a parameter to this command. This command (on each instance) computes a checksum for the path passed to it. If the checksums agree then we conclude that the DAS and this instance saw the same files in the directory and this command reports success; otherwise this command reports failure.
- Author:
- Tim Quinn
-
-
Constructor Summary
Constructors Constructor Description InstanceValidateRemoteDirDeploymentCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-