io.ebeaninternal.server.lib.ShutdownHook Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.lib;
/**
* This is the ShutdownHook that gets added to Runtime.
* It will try to shutdown the system cleanly when the JVM exits.
* It is best to add your own shutdown hooks to StartStop.
*/
class ShutdownHook extends Thread {
ShutdownHook() {
}
/**
* Fired by the JVM Runtime on shutdown.
*/
@Override
public void run() {
ShutdownManager.shutdown();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy