com.sun.enterprise.v3.admin.cluster
Class CreateNodeSshCommand
java.lang.Object
com.sun.enterprise.v3.admin.cluster.CreateRemoteNodeCommand
com.sun.enterprise.v3.admin.cluster.CreateNodeSshCommand
- All Implemented Interfaces:
- AdminCommand
@Service(name="create-node-ssh")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value=DAS)
public class CreateNodeSshCommand
- extends CreateRemoteNodeCommand
Remote AdminCommand to create and ssh node. This command is run only on DAS.
Register the node with SSH info on DAS
- Author:
- Carla Mott
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateNodeSshCommand
public CreateNodeSshCommand()
execute
public final void execute(AdminCommandContext context)
initialize
protected void initialize()
- Specified by:
initialize in class CreateRemoteNodeCommand
validate
protected void validate()
throws CommandValidationException
- Specified by:
validate in class CreateRemoteNodeCommand
- Throws:
CommandValidationException
checkDefaults
protected final void checkDefaults()
- Sometimes the console passes an empty string for a parameter. This
makes sure those are defaulted correctly.
- Overrides:
checkDefaults in class CreateRemoteNodeCommand
getType
protected final RemoteType getType()
- Specified by:
getType in class CreateRemoteNodeCommand
populateBaseClass
protected void populateBaseClass()
- We can't put these values into the base class simply to get the names that
the user sees correct. I.e. "ssh" versus "dcom" versus future types...
- Specified by:
populateBaseClass in class CreateRemoteNodeCommand
populateParameters
protected final void populateParameters(ParameterMap pmap)
- Specified by:
populateParameters in class CreateRemoteNodeCommand
populateCommandArgs
protected final void populateCommandArgs(java.util.List<java.lang.String> args)
- Specified by:
populateCommandArgs in class CreateRemoteNodeCommand
getPasswords
protected java.util.List<java.lang.String> getPasswords()
- Get list of password file entries
- Specified by:
getPasswords in class CreateRemoteNodeCommand
- Returns:
- List
getInstallNodeCommandName
protected java.lang.String getInstallNodeCommandName()
- Specified by:
getInstallNodeCommandName in class CreateRemoteNodeCommand
Copyright © 2012 GlassFish Community. All Rights Reserved.