com.sun.enterprise.v3.admin.cluster
Class ValidateNodeCommand
java.lang.Object
com.sun.enterprise.v3.admin.cluster.ValidateNodeCommand
- All Implemented Interfaces:
- AdminCommand
@Service(name="_validate-node")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value=DAS)
public class ValidateNodeCommand
- extends java.lang.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidateNodeCommand
public ValidateNodeCommand()
execute
public void execute(AdminCommandContext context)
- Specified by:
execute in interface AdminCommand
validateNode
public void validateNode(Node node)
throws CommandValidationException
- Throws:
CommandValidationException
Copyright © 2012 GlassFish Community. All Rights Reserved.