Class ValidateNodeCommand
- java.lang.Object
-
- com.sun.enterprise.v3.admin.cluster.ValidateNodeCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="_validate-node") @PerLookup @ExecuteOn(DAS) public class ValidateNodeCommand extends Object implements AdminCommand
Remote AdminCommand to validate a config Node. This command is run only on DAS. This command does the following: If the node does not exist it returns an error If parameters are passed to the command, such as nodehost, then it verifies the parameters passed to the command match what is in the config. If the config does not match the passed parameters then it is an error -- unless the config has no value. If the node exists, but does not have some of the attributes passed to the command, then the node is updated with the values passed to the command.- Author:
- Joe Di Pol
-
-
Constructor Summary
Constructors Constructor Description ValidateNodeCommand()
-
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
-
-