All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lifecycle.shutdown01.groovy Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
import org.commonjava.indy.action.IndyLifecycleException
import org.commonjava.indy.action.ShutdownAction

/**
 * Created by ruhan on 11/16/16.
 */
class ShutdownAction01 implements ShutdownAction
{
    @Override
    String getId() {
        return this.getClass().getName();
    }

    @Override
    void stop() throws IndyLifecycleException {
        println ("Shutdown " + getId())
    }

    @Override
    int getShutdownPriority() {
        return 0
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy