hmi.util
Interface Terminator

All Known Implementing Classes:
LWJGLRenderer1

public interface Terminator

A Terminator is an interface that requires a "terminate" method. The intention is that a Terminator performs actions immediately before a JVM is terminated, and allows for a "clean termination" procedure.

Author:
Job Zwiers

Method Summary
 boolean terminate()
          signal that the system is about to terminate; This object should perform the necessary actions for "clean termination", without exiting the system as a whole.
 

Method Detail

terminate

boolean terminate()
signal that the system is about to terminate; This object should perform the necessary actions for "clean termination", without exiting the system as a whole. The boolean value returned can be used to signal whether termination was succesful or not.