|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.lifecycle.ShutdownOperations
public class ShutdownOperations extends java.lang.Object
Operations that should be executed on shutdown.
Field Summary | |
---|---|
static java.lang.Runnable |
DEFAULT_SHUTDOWN_OPERATION
|
Method Summary | |
---|---|
static void
|
addOperation(java.lang.Runnable runnable)
Adds a shutdown operation |
static void
|
runOperations()
Runs the shutdown operations |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public static final java.lang.Runnable DEFAULT_SHUTDOWN_OPERATION
Method Detail |
---|
public static void addOperation(java.lang.Runnable runnable)
runnable
- The runnable operation
public static void runOperations()
Groovy Documentation