Package org.commonjava.indy.action
Interface ShutdownAction
-
- All Superinterfaces:
IndyLifecycleAction
public interface ShutdownAction extends IndyLifecycleAction
Performs some sort of service/subsystem shutdown as Indy is stopping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetShutdownPriority()Used to sort the actions, with highest priority executing first.voidstop()Stop the service on shutdown.-
Methods inherited from interface org.commonjava.indy.action.IndyLifecycleAction
getId
-
-
-
-
Method Detail
-
stop
void stop() throws IndyLifecycleException
Stop the service on shutdown.- Throws:
IndyLifecycleException
-
getShutdownPriority
int getShutdownPriority()
Used to sort the actions, with highest priority executing first. Priority should generally be between 1-100.
-
-