com.sun.enterprise.v3.admin.cluster
Class CreateRemoteNodeCommand
java.lang.Object
com.sun.enterprise.v3.admin.cluster.CreateRemoteNodeCommand
- All Implemented Interfaces:
- AdminCommand
- Direct Known Subclasses:
- CreateNodeDcom, CreateNodeSshCommand
@Service
public abstract class CreateRemoteNodeCommand
- extends java.lang.Object
- implements AdminCommand
Refactored from CreateNodeSshCommand.java on 9/10/11
Note the use of "protected" visibility is one of those rare times when it is actually
necessary. This class is sub-classed in a different package so protected is needed...
- Author:
- Carla Mott, Byron Nevins
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodehost
protected java.lang.String nodehost
remotePort
protected java.lang.String remotePort
remoteUser
protected java.lang.String remoteUser
remotePassword
protected java.lang.String remotePassword
CreateRemoteNodeCommand
public CreateRemoteNodeCommand()
populateBaseClass
protected abstract void populateBaseClass()
initialize
protected abstract void initialize()
populateParameters
protected abstract void populateParameters(ParameterMap pmap)
populateCommandArgs
protected abstract void populateCommandArgs(java.util.List<java.lang.String> args)
getType
protected abstract RemoteType getType()
validate
protected abstract void validate()
throws CommandValidationException
- Throws:
CommandValidationException
getPasswords
protected abstract java.util.List<java.lang.String> getPasswords()
getInstallNodeCommandName
protected abstract java.lang.String getInstallNodeCommandName()
executeInternal
public final void executeInternal(AdminCommandContext context)
checkDefaults
protected void checkDefaults()
- Sometimes the console passes an empty string for a parameter. This
makes sure those are defaulted correctly.
Copyright © 2012 GlassFish Community. All Rights Reserved.