SmartFrog 3.10.000

org.smartfrog.sfcore.common
Class ActionDetach

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

public class ActionDetach
extends ConfigurationAction

Detach a component


Constructor Summary
ActionDetach()
           
 
Method Summary
static Prim Detach(java.lang.String name, ProcessCompound targetP)
          Detaches appName from component target
 java.lang.Object execute(ProcessCompound targetP, ConfigurationDescriptor configuration)
          this has to be implemented by subclasses; execute a configuration command against a specified target
 
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

ActionDetach

public ActionDetach()
Method Detail

Detach

public static Prim Detach(java.lang.String name,
                          ProcessCompound targetP)
                   throws SmartFrogException,
                          java.rmi.RemoteException
Detaches appName from component target

Parameters:
name - name of the application
targetP - the target process compound to request deployment
Returns:
Prim Reference to detached 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
this has to be implemented by subclasses; execute a configuration command against a specified target

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 detached 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