Package org.glassfish.deployment.admin
Class ValidateRemoteDirDeploymentCommand
- java.lang.Object
-
- org.glassfish.api.deployment.OpsParams
-
- org.glassfish.api.deployment.DeployCommandParameters
-
- org.glassfish.deployment.admin.ValidateRemoteDirDeploymentCommand
-
- All Implemented Interfaces:
AdminCommand
,CommandParameters
@Service(name="_validateRemoteDirDeployment") @PerLookup @ExecuteOn(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.Command, OpsParams.Origin
-
-
Field Summary
-
Fields inherited from class org.glassfish.api.deployment.DeployCommandParameters
altdd, asyncreplication, availabilityenabled, clientJarRequested, contextroot, createtables, dbvendorname, deploymentorder, deploymentplan, description, dropandcreatetables, enabled, force, forceName, generatermistubs, hotDeploy, isredeploy, keepfailedstubs, keepreposdir, keepstate, lbenabled, libraries, loadOnly, logReportedErrors, metadataChanged, name, path, precompilejsp, previousContextRoot, properties, property, retrieve, runtimealtdd, skipDSFailure, sourcesChanged, target, type, uniquetablenames, verify, virtualservers
-
Fields inherited from class org.glassfish.api.deployment.OpsParams
_classicstyle, command, origin
-
-
Constructor Summary
Constructors Constructor Description ValidateRemoteDirDeploymentCommand()
-
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-
Methods inherited from class org.glassfish.api.deployment.DeployCommandParameters
getAltdd, getContextRoot, getDBVendorName, getDeploymentPlan, getPath, getPreviousContextRoot, getRetrieve, getRuntimeAltdd, getSourcesChanged, getType, getVirtualServers, isAsyncReplication, isAvailabilityEnabled, isClientJarRequested, isEnabled, isForce, isForceName, isGenerateRMIStubs, isHotDeploy, isKeepFailedStubs, isKeepReposDir, isLoadOnly, isLogReportedErrors, isMetadataChanged, isPrecompileJsp, isRedeploy, isSkipDSFailure, isVerify, libraries, name, setContextRoot
-
Methods inherited from class org.glassfish.api.deployment.OpsParams
getCommand, getOrigin
-
-
-
-
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
-
-