|
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.filesystem.FileUsingComponentImpl
org.smartfrog.services.filesystem.SelfDeletingFileImpl
public class SelfDeletingFileImpl
This is a component which will delete a file that it is bound do at termination time. created 31-Mar-2005 14:51:14
| Field Summary |
|---|
| Fields inherited from class org.smartfrog.services.filesystem.FileUsingComponentImpl |
|---|
file |
| 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.FileUsingComponent |
|---|
ATTR_ABSOLUTE_PATH, ATTR_FILENAME, ATTR_URI |
| Fields inherited from interface org.smartfrog.services.filesystem.FileIntf |
|---|
ATTR_DELETE_ON_EXIT, ATTR_DIR, ATTR_EXISTS, ATTR_IS_DIRECTORY, ATTR_IS_EMPTY, ATTR_IS_FILE, ATTR_IS_HIDDEN, ATTR_LENGTH, ATTR_MUST_BE_DIR, ATTR_MUST_BE_FILE, ATTR_MUST_EXIST, ATTR_MUST_READ, ATTR_MUST_WRITE, ATTR_SHORTNAME, ATTR_TEST_ON_LIVENESS, ATTR_TEST_ON_STARTUP, ATTR_TIMESTAMP |
| Constructor Summary | |
|---|---|
SelfDeletingFileImpl()
Constructor. |
|
| Method Summary | |
|---|---|
void |
sfDeploy()
Bind to the attributes defining filename; fail if not set |
void |
sfTerminateWith(TerminationRecord status)
delete the file if needed |
| Methods inherited from class org.smartfrog.services.filesystem.FileUsingComponentImpl |
|---|
bind, bind, bind, bind, deleteFileIfNeeded, getAbsolutePath, getFile, getURI, setAbsolutePath, toString |
| 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.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 |
| Constructor Detail |
|---|
public SelfDeletingFileImpl()
throws java.rmi.RemoteException
java.rmi.RemoteException - In case of network/rmi error| Method Detail |
|---|
public void sfDeploy()
throws SmartFrogException,
java.rmi.RemoteException
sfDeploy in interface PrimsfDeploy in class PrimImplSmartFrogException - error while deploying
java.rmi.RemoteException - In case of network/rmi errorpublic void sfTerminateWith(TerminationRecord status)
sfTerminateWith in class PrimImplstatus - termination status
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||