com.sun.enterprise.v3.admin.cluster.dcom
Class CreateNodeDcom

java.lang.Object
  extended by com.sun.enterprise.v3.admin.cluster.CreateRemoteNodeCommand
      extended by com.sun.enterprise.v3.admin.cluster.dcom.CreateNodeDcom
All Implemented Interfaces:
AdminCommand

@Service(name="create-node-dcom")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@CommandLock(value=NONE)
@ExecuteOn(value=DAS)
public class CreateNodeDcom
extends CreateRemoteNodeCommand

Remote AdminCommand to create a DCOM node

Author:
Byron Nevins

Field Summary
 
Fields inherited from class com.sun.enterprise.v3.admin.cluster.CreateRemoteNodeCommand
nodehost, remotePassword, remotePort, remoteUser
 
Constructor Summary
CreateNodeDcom()
           
 
Method Summary
protected  void checkDefaults()
          Sometimes the console passes an empty string for a parameter.
 void execute(AdminCommandContext context)
           
protected  java.lang.String getInstallNodeCommandName()
           
protected  java.util.List<java.lang.String> getPasswords()
          Get list of password file entries
protected  RemoteType getType()
           
protected  void initialize()
           
protected  void populateBaseClass()
          We can't put these values into the base class simply to get the names that the user sees correct.
protected  void populateCommandArgs(java.util.List<java.lang.String> args)
           
protected  void populateParameters(ParameterMap pmap)
           
protected  void validate()
           
 
Methods inherited from class com.sun.enterprise.v3.admin.cluster.CreateRemoteNodeCommand
executeInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateNodeDcom

public CreateNodeDcom()
Method Detail

initialize

protected void initialize()
Specified by:
initialize in class CreateRemoteNodeCommand

execute

public final void execute(AdminCommandContext context)

validate

protected void validate()
                 throws CommandValidationException
Specified by:
validate in class CreateRemoteNodeCommand
Throws:
CommandValidationException

getType

protected RemoteType getType()
Specified by:
getType in class CreateRemoteNodeCommand

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

populateBaseClass

protected final 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.