com.sun.enterprise.v3.admin.cluster
Class PingNodeSshCommand

java.lang.Object
  extended by com.sun.enterprise.v3.admin.cluster.PingNodeRemoteCommand
      extended by com.sun.enterprise.v3.admin.cluster.PingNodeSshCommand
All Implemented Interfaces:
AdminCommand

@Service(name="ping-node-ssh")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@CommandLock(value=NONE)
@ExecuteOn(value=DAS)
public class PingNodeSshCommand
extends PingNodeRemoteCommand

Remote AdminCommand to validate the connection to an SSH node.

Author:
Joe Di Pol

Field Summary
 
Fields inherited from class com.sun.enterprise.v3.admin.cluster.PingNodeRemoteCommand
name
 
Constructor Summary
PingNodeSshCommand()
           
 
Method Summary
 void execute(AdminCommandContext context)
           
protected  java.lang.String validateSubType(Node node)
           
 
Methods inherited from class com.sun.enterprise.v3.admin.cluster.PingNodeRemoteCommand
executeInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingNodeSshCommand

public PingNodeSshCommand()
Method Detail

execute

public void execute(AdminCommandContext context)

validateSubType

protected java.lang.String validateSubType(Node node)
Specified by:
validateSubType in class PingNodeRemoteCommand
Parameters:
node - the node of interest
Returns:
null if all-OK, otherwise return an error message


Copyright © 2012 GlassFish Community. All Rights Reserved.