public interface ExecutionContextAn
ExecutionContextcontains temporary objects. When the context is destroyed, its attached temporary objects are destroyed. Audience dev
void registerObject(Finalizer object)Add a generic temporary object that implements the
Finalizer.doFinalize()method will be called when the
object- the object to register
void addTempFile(File file)Add a temporary file to this
ExecutionContext. The temporary file will be deleted when the context is destroyed.
file- file to remember