Uses of Class
net.morimekta.tiny.server.TinyApplicationContext
-
-
Uses of TinyApplicationContext in net.morimekta.tiny.server
Methods in net.morimekta.tiny.server that return TinyApplicationContext Modifier and Type Method Description TinyApplicationContext
TinyApplicationContext. addHealthCheck(String name, net.morimekta.tiny.http.TinyHealth.HealthCheck healthCheck)
Add health check to active checks.TinyApplicationContext
TinyApplicationContext. addReadyCheck(String name, net.morimekta.tiny.http.TinyHealth.ReadyCheck readyCheck)
Add ready check to active checks.TinyApplicationContext
TinyApplicationContext. removeHealthCheck(String name)
Remove health check with given name.TinyApplicationContext
TinyApplicationContext. removeReadyCheck(String name)
Remove ready check with given name.Methods in net.morimekta.tiny.server with parameters of type TinyApplicationContext Modifier and Type Method Description protected void
TinyApplication. afterStart(TinyApplicationContext context)
This method is called after onStart() and the service is marked as ready, mainly in order to make simple test-validation after starting, or to start background processes that should be started *after* service is in operation.protected void
TinyApplication. afterStop(TinyApplicationContext context)
This method is called after the HTTP service has been stopped, but before the application exits.protected void
TinyApplication. beforeStop(TinyApplicationContext context)
This method is called immediately when the service should start shutting down.protected abstract void
TinyApplication. onStart(TinyApplicationContext context)
This method is called after the HTTP server is started, but before the service is considered "ready".
-