Package | Description |
---|---|
ratpack.service |
Services participate in the application start/stop lifecycle.
|
Modifier and Type | Method and Description |
---|---|
default void |
Service.onStop(StopEvent event)
Server stop event.
|
Modifier and Type | Method and Description |
---|---|
static Service |
Service.shutdown(String name,
Action<? super StopEvent> action)
Creates a service that executes the given action as the
Service.onStop(StopEvent) implementation. |