public interface ExecutionContext
ExecutionContext
contains temporary objects. When the
context is destroyed, its attached temporary objects are destroyed.Modifier and Type | Method and Description |
---|---|
void |
addTempFile(java.io.File file)
Add a temporary file to this
ExecutionContext . |
void |
registerObject(Finalizer object)
Add a generic temporary object that implements the
Finalizer
interface. |
void registerObject(Finalizer object)
Finalizer
interface. Its Finalizer.doFinalize()
method will be called
when the ExecutionContext
is destroyed.void addTempFile(java.io.File file)
ExecutionContext
. The
temporary file will be deleted when the context is destroyed.file
- file to rememberCopyright © 2010 - 2020 Adobe. All Rights Reserved