Java shutdown hooks
è un espediente usato in java per avviare thread in fase di chiusura di una applicazione.