|
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.TempFileImpl
public class TempFileImpl
created 18-May-2004 11:46:09
| Field Summary | |
|---|---|
static java.lang.String |
ERROR_PREFIX_EMPTY
|
| 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.TempFile |
|---|
ATTR_DIRECTORY, ATTR_PREFIX, ATTR_SUFFIX, ATTR_TEXT, ATTR_TEXT_ENCODING |
| 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 | |
|---|---|
TempFileImpl()
create a temporary file instance; do no real work (yet) |
|
| Method Summary | |
|---|---|
java.lang.String |
getFilename()
get the filename of this file |
void |
sfDeploy()
On startup we create the temp file and set the filename attribute to it |
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 |
| Field Detail |
|---|
public static final java.lang.String ERROR_PREFIX_EMPTY
| Constructor Detail |
|---|
public TempFileImpl()
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 statuspublic java.lang.String getFilename()
getFilename in interface TempFile
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||