SmartFrog 3.10.000

org.smartfrog.sfcore.common
Class ActionDiagnostics

java.lang.Object
  extended by org.smartfrog.sfcore.common.ConfigurationAction
      extended by org.smartfrog.sfcore.common.ActionDiagnostics

public class ActionDiagnostics
extends ConfigurationAction

Implements Diagnostics Action for a component


Constructor Summary
ActionDiagnostics()
           
 
Method Summary
static ComponentDescription Diagnostics(Prim prim)
          Gets and prints a diagnostics report from the target component
 java.lang.Object execute(ProcessCompound targetP, ConfigurationDescriptor configuration)
          Deploy Action.
 
Methods inherited from class org.smartfrog.sfcore.common.ConfigurationAction
execute, HandleTerminationException, selectTargetProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionDiagnostics

public ActionDiagnostics()
Method Detail

Diagnostics

public static ComponentDescription Diagnostics(Prim prim)
                                        throws SmartFrogException,
                                               java.rmi.RemoteException
Gets and prints a diagnostics report from the target component

Parameters:
prim - component to get report from.
Returns:
Diagnostics report to deployed component
Throws:
SmartFrogException - failure in some part of the process
java.rmi.RemoteException - In case of network/rmi error

execute

public java.lang.Object execute(ProcessCompound targetP,
                                ConfigurationDescriptor configuration)
                         throws SmartFrogException,
                                java.rmi.RemoteException
Deploy Action.

Specified by:
execute in class ConfigurationAction
Parameters:
targetP - target where to execute the configuration command
configuration - configuration command to be executed
Returns:
Object Reference to component whose Diagnostics report is generated
Throws:
SmartFrogException - failure in some part of the process
java.rmi.RemoteException - In case of network/rmi error

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP