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