|
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.reference.RemoteReferenceResolverHelperImpl
org.smartfrog.sfcore.prim.PrimImpl
org.smartfrog.services.shellscript.SFProcessExecutionImpl
public class SFProcessExecutionImpl
| Field Summary |
|---|
| Fields inherited from class org.smartfrog.sfcore.prim.PrimImpl |
|---|
refLivenessDelay, refLivenessFactor, sfCompleteName, sfContext, sfDeployHooks, sfDeployWithHooks, sfExportRef, sfIsDeployed, sfIsStarted, sfIsTerminated, sfIsTerminating, sfLivenessCount, sfLivenessDelay, sfLivenessFactor, sfLivenessSender, sfParent, sfStartHooks, sfTerminateWithHooks, termLock |
| Fields inherited from interface org.smartfrog.services.shellscript.SFProcessExecution |
|---|
ATR_AUTO_START |
| Fields inherited from interface org.smartfrog.services.shellscript.SFExecution |
|---|
ATR_EXEC, ATR_EXEC_EXIT_CODE, ATR_EXEC_EXIT_CODES, ATR_NAME, ATR_NUMBER_OF_EXECS |
| Constructor Summary | |
|---|---|
SFProcessExecutionImpl()
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
getStdErrStream()
Gets the error stream of the subprocess. |
java.io.OutputStream |
getStdInpStream()
Gets the output stream of the subprocess. |
java.io.InputStream |
getStdOutStream()
Gets the input stream of the subprocess. |
boolean |
isRunning()
Is the process ready? |
void |
kill()
Kill the process |
void |
readConfig()
Reads SF description = initial configuration. |
void |
restart()
Restarts the process |
void |
sfDeploy()
This method retrieves the paramters from the .sf file. |
void |
sfStart()
This sets a flag that will start the httpd process running. |
void |
sfTerminateWith(TerminationRecord tr)
This shuts down Apache by requesting that the ApacheState variable be set to false. |
| Methods inherited from class org.smartfrog.sfcore.reference.RemoteReferenceResolverHelperImpl |
|---|
sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolveWithParser |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.smartfrog.sfcore.prim.Prim |
|---|
sfAddAttribute, sfAttributeKeyFor, sfAttributes, sfCompleteName, sfContainsAttribute, sfContainsValue, sfContext, sfDeployedHost, sfDeployedProcessName, sfDeployWith, sfDetach, sfDetachAndTerminate, sfDumpState, sfIsDeployed, sfIsStarted, sfIsTerminated, sfIsTerminating, sfParent, sfParentageChanged, sfRemoveAttribute, sfReplaceAttribute, sfTerminate, sfTerminatedWith, sfTerminateQuietlyWith, sfValues |
| Methods inherited from interface org.smartfrog.sfcore.prim.Liveness |
|---|
sfPing |
| Methods inherited from interface org.smartfrog.sfcore.reference.RemoteReferenceResolver |
|---|
sfResolve, sfResolve, sfResolveHere, sfResolveHere, sfResolveParent |
| Methods inherited from interface org.smartfrog.sfcore.reference.RemoteReferenceResolverHelper |
|---|
sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolveWithParser |
| Methods inherited from interface org.smartfrog.sfcore.prim.Diagnostics |
|---|
sfDiagnosticsReport |
| Constructor Detail |
|---|
public SFProcessExecutionImpl()
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
public void readConfig()
throws SmartFrogException,
java.rmi.RemoteException
readConfig in interface SFExecutionreadConfig in interface SFReadConfigSmartFrogException
java.rmi.RemoteException
public void sfDeploy()
throws SmartFrogException,
java.rmi.RemoteException
sfDeploy in interface PrimsfDeploy in class PrimImplSmartFrogException - deployment failure
java.rmi.RemoteException - In case of network/rmi error
public void sfStart()
throws SmartFrogException,
java.rmi.RemoteException
sfStart in interface PrimsfStart in class PrimImplSmartFrogException - starting failure
java.rmi.RemoteException - In cas eof network/rmi errorpublic void sfTerminateWith(TerminationRecord tr)
sfTerminateWith in class PrimImpltr - TerminationRecord objectpublic java.io.InputStream getStdOutStream()
Process) object.
Implementation note: It is a good idea for the input stream to be buffered.
getStdOutStream in interface SFProcessExecutionpublic java.io.InputStream getStdErrStream()
Process) object.
Implementation note: It is a good idea for the input stream to be buffered.
getStdErrStream in interface SFProcessExecutionpublic java.io.OutputStream getStdInpStream()
Process) object.
Implementation note: It is a good idea for the output stream to be buffered.
getStdInpStream in interface SFProcessExecutionpublic void kill()
kill in interface SFProcessExecution
public void restart()
throws SmartFrogException
restart in interface SFProcessExecutionSmartFrogExceptionpublic boolean isRunning()
isRunning in interface SFProcessExecution
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||