org.glassfish.deployment.admin
Class InstanceValidateRemoteDirDeploymentCommand
java.lang.Object
org.glassfish.deployment.admin.InstanceValidateRemoteDirDeploymentCommand
- All Implemented Interfaces:
- AdminCommand
@Service(name="_instanceValidateRemoteDirDeployment")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value=INSTANCE)
public class InstanceValidateRemoteDirDeploymentCommand
- extends java.lang.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceValidateRemoteDirDeploymentCommand
public InstanceValidateRemoteDirDeploymentCommand()
execute
public void execute(AdminCommandContext context)
- Specified by:
execute in interface AdminCommand
Copyright © 2012 GlassFish Community. All Rights Reserved.