Package com.day.util
Interface Finalizer
- All Known Implementing Classes:
TempFileFinalizer
public interface Finalizer
Object who need to be cleaned up when an
ExecutionContext
is destroyed, the Finalizer interface may register with the
FinalizerHandler. At the end of the
ExecutionContext, all registered Finalizer
instances are called for their cleanup work.- Since:
- antbear
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis is the method called by theFinalizerHandlerwhen the finalizing work has to be done.
-
Method Details
-
doFinalize
void doFinalize()This is the method called by theFinalizerHandlerwhen the finalizing work has to be done.
-