ts.biff
Interface SafeTerminate
- All Known Subinterfaces:
- FetchAgent, TransportAgent
- public interface SafeTerminate
Defines standard callbacks for classes that would like to know if
the application is about to terminate. Objects that implement this
interface can be managed by a TerminateController object.
Typical implementors of this class should be classes that often do
critical stuff which should be alowed to finnish before the VM is
terminated.
- Version:
- $Id: SafeTerminate.java,v 1.6 1999/02/21 08:47:04 hauk Exp $
- Author:
- Jan-Henrik Haukeland < hauk@tildeslashcom>
- See Also:
TerminateController,
FetchAgent
|
Method Summary |
boolean |
canTerminate()
Called when the application is about to terminate. |
canTerminate
public boolean canTerminate()
- Called when the application is about to terminate. Should return
false if it's a very bad time to do just that.
- Returns:
- false if termination should be avoided at this time