SmartFrog 3.10.000

org.smartfrog.sfcore.common
Class ActionTerminate

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

public class ActionTerminate
extends ConfigurationAction

Terminate a component


Constructor Summary
ActionTerminate()
           
 
Method Summary
 java.lang.Object execute(ProcessCompound targetP, ConfigurationDescriptor configuration)
          Terminate action
static Prim sfTerminate(java.lang.String name, ProcessCompound targetP)
          Terminates name from component targetP
 
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

ActionTerminate

public ActionTerminate()
Method Detail

sfTerminate

public static Prim sfTerminate(java.lang.String name,
                               ProcessCompound targetP)
                        throws SmartFrogException,
                               java.rmi.RemoteException
Terminates name from component targetP

Parameters:
name - name of the application
targetP - the target process compound to request deployment
Returns:
Reference to terminated 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
Terminate 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 parsed component
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