|
SmartFrog 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.smartfrog.sfcore.common.ConfigurationAction
public abstract class ConfigurationAction
This code contains the methods to do things from configurations. It is a factoring out of SFSystem.
| Constructor Summary | |
|---|---|
ConfigurationAction()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(ConfigurationDescriptor configuration)
Locate the target from the configuration, then call #execute() with the target specified this is an optional override point, giving the overrider the option of using an alternate target mapping process |
abstract java.lang.Object |
execute(ProcessCompound targetP,
ConfigurationDescriptor configuration)
this has to be implemented by subclasses; execute a configuration command against a specified target. |
protected static boolean |
HandleTerminationException(java.rmi.RemoteException ex,
boolean rootProcess)
special handler for processing exceptions during termination; socket failures are actually viewed as successful terminations, as they are often the symptom of success. |
static ProcessCompound |
selectTargetProcess(java.lang.String host,
java.lang.String subProcess)
Select target process compound using host and subprocess names |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationAction()
| Method Detail |
|---|
public static ProcessCompound selectTargetProcess(java.lang.String host,
java.lang.String subProcess)
throws SmartFrogException,
java.rmi.RemoteException
host - host name. If null, assumes localhost.subProcess - subProcess name (optional; can be null)
SmartFrogException - In case of SmartFrog system error
java.rmi.RemoteException - In case of network/rmi error
public abstract java.lang.Object execute(ProcessCompound targetP,
ConfigurationDescriptor configuration)
throws SmartFrogException,
java.rmi.RemoteException
targetP - target processconfiguration - configuration command to be executed
SmartFrogException - failure in some part of the process
java.rmi.RemoteException - In case of network/rmi error
public java.lang.Object execute(ConfigurationDescriptor configuration)
throws SmartFrogException,
java.rmi.RemoteException
configuration - configuration command to be executed
SmartFrogException - failure in some part of the process
java.rmi.RemoteException - In case of network/rmi error
protected static boolean HandleTerminationException(java.rmi.RemoteException ex,
boolean rootProcess)
throws java.rmi.RemoteException
ex - RemoteException to be handledrootProcess - boolean indicating if the component is rootProcess or not
java.rmi.RemoteException - In case of network/rmi error
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||