Shutdown service not running after clicking shutdown

i have created a java service and added it as shutdown service.but its not running on clicking shutdown.

Hello,

Shutdown services suppose to run when the server is shutting down or the someone try to disable the package.

Try to put some log statement and disable the package and check.

Regards,
Sasanka