com.dalsemi.system
Interface ProcessDeathListener
- public interface ProcessDeathListener
ProcessDeathListener
is a interface provided by the system
to register a cleanup routine when the process exits. When the process is killed
or dies of natural causes, the onDeath() method will be called. Multiple
ProcessDeathListeners can be registered with a single process.
Method Summary |
void |
onDeath()
onDeath is called when the process exits. |
onDeath
public void onDeath()
onDeath
is called when the process exits.
The onDeath
method is not allowed to create
any new threads. It should be used for cleanup only
Also see:
o TINI 1.16 API, Optional Modules
o TINI Home Page
o 1-Wire API
o JDK 1.1
Last update Wed Jun 8 17:19:36 CDT 2005