File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Threads and Synchronization
Regarding removeShutdownHook and addShutdownHook
santhosh kumar vk
Joined: Aug 25, 2009
Jun 12, 2012 00:36:54
Could you please tell me what the use of Runtime.getRuntime().removeShutdownHook() and Runtime.getRuntime().addShutdownHook().
Santhosh Kumar VK
Joined: Aug 22, 2010
Jun 12, 2012 02:24:14
The javadoc entry for
is actually quite detailed:
I'd suggest to read that first and then ask specific questions, if needed.
I agree. Here's the link:
subject: Regarding removeShutdownHook and addShutdownHook
DefaultMessageListenerContainer not getting started
Threads Synchronization Issue
NX: (Contractors) server shutdown and file close
How to create final action when closing brutally java app
Killing process spawned by Runtime.exec()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015