|
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.sfcore.updatable.UpdatablePrim
public class UpdatablePrim
warning: handle in a thread that is not part of a lifecycle of another component...
| 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 |
| Constructor Summary | |
|---|---|
UpdatablePrim()
|
|
| Method Summary | |
|---|---|
void |
sfAbandonUpdate()
Can occur after prepare and check, but not afterwards to roll back from actual update process. |
void |
sfPrepareUpdate()
Inform component (and children, typically) that an update is about to take place. |
void |
sfUpdate()
Carry out the context update - no roll back from this point on. |
void |
sfUpdateComponent(ComponentDescription desc)
Control of complete update process for a component, running through all the above phases. |
void |
sfUpdateDeploy()
Next phase of start-up after update - includes calling sfDeply on new children Errors are considered terminal unless behaviour overridden. |
void |
sfUpdateStart()
Final phase of startup after update - includes calling sfStart on new children Errors are considered terminal unless behaviour overridden. |
boolean |
sfUpdateWith(Context newCxt)
Validate whether the component (and its children) can be updated |
| 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, 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 |
| Constructor Detail |
|---|
public UpdatablePrim()
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
public void sfPrepareUpdate()
throws java.rmi.RemoteException,
SmartFrogException
sfPrepareUpdate in interface Updatejava.rmi.RemoteException
SmartFrogException - - not OK to update
public boolean sfUpdateWith(Context newCxt)
throws java.rmi.RemoteException,
SmartFrogException
sfUpdateWith in interface UpdatenewCxt - - the data that will replace the original context
java.rmi.RemoteException
SmartFrogException - - failure, not OK to update
public void sfUpdate()
throws java.rmi.RemoteException,
SmartFrogException
sfUpdate in interface Updatejava.rmi.RemoteException
SmartFrogException - - failure, to be treated like a normal lifecycle error, by default with termination
public void sfUpdateDeploy()
throws java.rmi.RemoteException,
SmartFrogException
sfUpdateDeploy in interface Updatejava.rmi.RemoteException
SmartFrogException
public void sfUpdateStart()
throws java.rmi.RemoteException,
SmartFrogException
sfUpdateStart in interface Updatejava.rmi.RemoteException
SmartFrogException
public void sfAbandonUpdate()
throws java.rmi.RemoteException
sfAbandonUpdate in interface Updatejava.rmi.RemoteException
public void sfUpdateComponent(ComponentDescription desc)
throws java.rmi.RemoteException,
SmartFrogUpdateException
sfUpdateComponent in interface Updatedesc -
java.rmi.RemoteException
SmartFrogUpdateException
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||