|
SmartFrog 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessCompound
Defines the process deployment interface. A process compound can deploy component descriptions. It also manages other processes which contain process compounds.
| Method Summary | |
|---|---|
boolean |
sfDeRegister(Prim comp)
DeRegisters a deployed component |
boolean |
sfIsRoot()
Tests whether the Process Compound is the root process compound or not. |
void |
sfNotifySubprocessReady(java.lang.String name)
Allows a sub-process to notify the root process compound that it is now ready to receive deployment requests. |
java.lang.String |
sfProcessName()
Gets the process name for this process compound. |
java.lang.Object |
sfRegister(java.lang.Object name,
Prim comp)
Registers a deployed component inhibiting the generation of a new name for the component. |
java.lang.Object |
sfResolveHereOrWait(java.lang.Object name,
long timeout)
Tries to find an attribute in the local context. |
ProcessCompound |
sfResolveProcess(java.lang.Object name,
ComponentDescription cd)
Finds a process compound given a name. |
void |
systemExitOnTermination(boolean exit)
Sets whether or not the ProcessCompound should terminate the JVM on exit. |
| Methods inherited from interface org.smartfrog.sfcore.compound.Compound |
|---|
sfCreateNewApp, sfCreateNewChild, sfCreateNewChild, sfDeployComponentDescription |
| Methods inherited from interface org.smartfrog.sfcore.prim.Prim |
|---|
sfAddAttribute, sfAttributeKeyFor, sfAttributes, sfCompleteName, sfContainsAttribute, sfContainsValue, sfContext, sfDeploy, sfDeployedHost, sfDeployedProcessName, sfDeployWith, sfDetach, sfDetachAndTerminate, sfDumpState, sfIsDeployed, sfIsStarted, sfIsTerminated, sfIsTerminating, sfParent, sfParentageChanged, sfRemoveAttribute, sfReplaceAttribute, sfStart, 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 |
| Methods inherited from interface org.smartfrog.sfcore.prim.ChildMinder |
|---|
sfAddChild, sfChildren, sfContainsChild, sfRemoveChild |
| Method Detail |
|---|
java.lang.String sfProcessName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if there is any network or remote error
boolean sfIsRoot()
throws java.rmi.RemoteException
java.rmi.RemoteException - if there is any network or remote error
ProcessCompound sfResolveProcess(java.lang.Object name,
ComponentDescription cd)
throws java.lang.Exception,
java.rmi.RemoteException
name - process name to usecd - component description with extra process configuration (ex. sfProcessAttributes)
java.lang.Exception - failed to deploy or locate process
java.rmi.RemoteException - if there is any network or remote error
java.lang.Object sfRegister(java.lang.Object name,
Prim comp)
throws SmartFrogException,
java.rmi.RemoteException
name - name for componentcomp - component to register
SmartFrogException - if name already in use
java.rmi.RemoteException - if there is any network or remote error
boolean sfDeRegister(Prim comp)
throws SmartFrogException,
java.rmi.RemoteException
comp - component to register
SmartFrogException - if name already in use
java.rmi.RemoteException - if there is any network or remote error
java.lang.Object sfResolveHereOrWait(java.lang.Object name,
long timeout)
throws java.lang.Exception,
java.rmi.RemoteException
name - name of attribute to wait fortimeout - max time to wait in millis
java.lang.Exception - attribute not found after timeout
java.rmi.RemoteException - if there is any network or remote error
void sfNotifySubprocessReady(java.lang.String name)
throws java.rmi.RemoteException
name - the name of the subprocess
java.rmi.RemoteException - if there is any network or remote error
void systemExitOnTermination(boolean exit)
throws java.rmi.RemoteException
exit - whether or not to exit (true = exit)
java.rmi.RemoteException - if there is any network or remote error
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||