|
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.compound.CompoundImpl
org.smartfrog.services.filesystem.CopyFileImpl
org.smartfrog.services.filesystem.DeployByCopyImpl
public class DeployByCopyImpl
a component that deletes a file after copying it
Field Summary |
---|
Fields inherited from class org.smartfrog.sfcore.compound.CompoundImpl |
---|
childCap, childInc, lifecycleChildren, sfChildren, sfSyncTerminate |
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.filesystem.CopyFile |
---|
ATTR_FROM, ATTR_TO |
Constructor Summary | |
---|---|
DeployByCopyImpl()
|
Method Summary | |
---|---|
void |
sfStart()
we only create the directory at startup time, even though we bond at deploy time |
void |
sfTerminateWith(TerminationRecord status)
When terminating, delete the destination file if there is one. |
Methods inherited from class org.smartfrog.services.filesystem.CopyFileImpl |
---|
getFromFile, getToFile, sfDeploy |
Methods inherited from class org.smartfrog.sfcore.compound.CompoundImpl |
---|
sfAddChild, sfASyncTerminateWith, sfChildren, sfContainsChild, sfCreateNewApp, sfCreateNewChild, sfCreateNewChild, sfDeployChildren, sfDeployComponentDescription, sfDeployWith, sfDeployWithChildren, sfDumpState, sfParentageChanged, sfPing, sfPingChild, sfRemoveAttribute, sfRemoveChild, sfStartChildren, sfSyncTerminateWith, sfTerminatedWith |
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.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, 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 |
Constructor Detail |
---|
public DeployByCopyImpl() throws java.rmi.RemoteException
java.rmi.RemoteException
Method Detail |
---|
public void sfStart() throws SmartFrogException, java.rmi.RemoteException
CopyFileImpl
sfStart
in interface Prim
sfStart
in class CopyFileImpl
SmartFrogException
- failure while starting
java.rmi.RemoteException
- In case of network/rmi errorpublic void sfTerminateWith(TerminationRecord status)
sfTerminateWith
in class CompoundImpl
status
- TerminationRecord object
|
SmartFrog CORE 3.10.000 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |