Class DeleteNodeSshCommand
- java.lang.Object
-
- com.sun.enterprise.v3.admin.cluster.DeleteNodeRemoteCommand
-
- com.sun.enterprise.v3.admin.cluster.DeleteNodeSshCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="delete-node-ssh") @PerLookup @ExecuteOn(DAS) public class DeleteNodeSshCommand extends DeleteNodeRemoteCommand
Remote AdminCommand to create a config node. This command is run only on DAS. Register the config node on DAS- Author:
- Carla Mott
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.v3.admin.cluster.DeleteNodeRemoteCommand
logger, remotepassword, serviceLocator, sshkeypassphrase
-
-
Constructor Summary
Constructors Constructor Description DeleteNodeSshCommand()
-
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 valuesprotected List<String>
getPasswords()
Get list of password file entriesprotected String
getUninstallCommandName()
protected void
setTypeSpecificOperands(List<String> command, ParameterMap commandParameters)
-
Methods inherited from class com.sun.enterprise.v3.admin.cluster.DeleteNodeRemoteCommand
executeInternal
-
-
-
-
Method Detail
-
execute
public final 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- Parameters:
context
- information
-
getPasswords
protected final List<String> getPasswords()
Get list of password file entries- Specified by:
getPasswords
in classDeleteNodeRemoteCommand
- Returns:
- List
-
getUninstallCommandName
protected String getUninstallCommandName()
- Specified by:
getUninstallCommandName
in classDeleteNodeRemoteCommand
-
setTypeSpecificOperands
protected final void setTypeSpecificOperands(List<String> command, ParameterMap commandParameters)
- Specified by:
setTypeSpecificOperands
in classDeleteNodeRemoteCommand
-
-