Package io.inversion
Interface Engine.EngineListener
- All Superinterfaces:
Api.ApiListener
- Enclosing class:
Engine
Receives
Engine and Api lifecycle,
per request and per error callback notifications.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonShutdown(Engine engine) Notified when the Engine is shutting down and has stopped receiving requests allowing listeners to perform any resource cleanup.default voidNotified when the Engine is starting prior to accepting any requests which allows listeners to perform additional configuration.Methods inherited from interface io.inversion.Api.ApiListener
afterError, afterRequest, beforeFinally, onShutdown, onStartup
-
Method Details
-
onStartup
Notified when the Engine is starting prior to accepting any requests which allows listeners to perform additional configuration.- Parameters:
engine- the Engine starting
-
onShutdown
Notified when the Engine is shutting down and has stopped receiving requests allowing listeners to perform any resource cleanup.- Parameters:
engine- the Engine stopping
-