I have developed a Java daemon and I want to create a kind of listener which will be called when the PC is turning off in way to check some Application info.
If you have some info about it, let me know. Is it possible to control the shutting down process of OS. How could I get info of shutting down process of OS in Java?
Thanks in advance.