org.glassfish.deployment.admin
Class ValidateRemoteDirDeploymentCommand

java.lang.Object
  extended by org.glassfish.api.deployment.OpsParams
      extended by org.glassfish.api.deployment.DeployCommandParameters
          extended by org.glassfish.deployment.admin.ValidateRemoteDirDeploymentCommand
All Implemented Interfaces:
AdminCommand, CommandParameters

@Service(name="_validateRemoteDirDeployment")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value=DAS)
public class ValidateRemoteDirDeploymentCommand
extends DeployCommandParameters
implements AdminCommand

Makes sure that, if a deployment is a directory deployment to a non-DAS target, that all targeted instances "see" the same files in the specified deployment directory as the DAS sees. If so, the DeployCommand runs as normal. If not, this supplemental command reports failure which prevents the DeployCommand from running because it would have tried to deploy different files to different instances.

Author:
Tim Quinn

Nested Class Summary
 
Nested classes/interfaces inherited from class org.glassfish.api.deployment.DeployCommandParameters
DeployCommandParameters.ParameterNames
 
Nested classes/interfaces inherited from class org.glassfish.api.deployment.OpsParams
OpsParams.Origin
 
Field Summary
 
Fields inherited from class org.glassfish.api.deployment.DeployCommandParameters
asyncreplication, availabilityenabled, clientJarRequested, contextroot, createtables, dbvendorname, deploymentplan, description, dropandcreatetables, enabled, force, generatermistubs, isredeploy, keepfailedstubs, keepreposdir, keepstate, lbenabled, libraries, logReportedErrors, name, path, precompilejsp, previousContextRoot, properties, property, retrieve, target, type, uniquetablenames, verify, virtualservers
 
Fields inherited from class org.glassfish.api.deployment.OpsParams
origin
 
Constructor Summary
ValidateRemoteDirDeploymentCommand()
           
 
Method Summary
 void execute(AdminCommandContext context)
           
 
Methods inherited from class org.glassfish.api.deployment.DeployCommandParameters
libraries, name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidateRemoteDirDeploymentCommand

public ValidateRemoteDirDeploymentCommand()
Method Detail

execute

public void execute(AdminCommandContext context)
Specified by:
execute in interface AdminCommand


Copyright © 2012 GlassFish Community. All Rights Reserved.