Package ratpack.core.service
Interface StopEvent
-
public interface StopEvent
A stop event.- Since:
- 1.3
- See Also:
Service.onStop(StopEvent)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Registry
getRegistry()
The server registry.boolean
isReload()
If the server is stopping in response to a reload (during development), as opposed to for the first time.
-
-
-
Method Detail
-
getRegistry
Registry getRegistry()
The server registry.- Returns:
- the server registry
-
isReload
boolean isReload()
If the server is stopping in response to a reload (during development), as opposed to for the first time.- Returns:
- if the server is stopping in response to a reload
-
-