Class CreateRemoteNodeCommand
- java.lang.Object
-
- com.sun.enterprise.v3.admin.cluster.CreateRemoteNodeCommand
-
- All Implemented Interfaces:
AdminCommand
- Direct Known Subclasses:
CreateNodeDcom
,CreateNodeSshCommand
public abstract class CreateRemoteNodeCommand extends 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
-
-
Field Summary
Fields Modifier and Type Field Description protected String
nodehost
protected String
remotePassword
protected String
remotePort
protected String
remoteUser
-
Constructor Summary
Constructors Constructor Description CreateRemoteNodeCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
checkDefaults()
Sometimes the console passes an empty string for a parameter.void
executeInternal(AdminCommandContext context)
protected abstract String
getInstallNodeCommandName()
protected abstract List<String>
getPasswords()
protected abstract RemoteType
getType()
protected abstract void
initialize()
protected abstract void
populateBaseClass()
protected abstract void
populateCommandArgs(List<String> args)
protected abstract void
populateParameters(ParameterMap pmap)
protected abstract void
validate()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.api.admin.AdminCommand
execute
-
-
-
-
Method Detail
-
populateBaseClass
protected abstract void populateBaseClass()
-
initialize
protected abstract void initialize()
-
populateParameters
protected abstract void populateParameters(ParameterMap pmap)
-
getType
protected abstract RemoteType getType()
-
validate
protected abstract void validate() throws CommandValidationException
- Throws:
CommandValidationException
-
getInstallNodeCommandName
protected abstract 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.
-
-