Uses of Class
net.morimekta.tiny.server.TinyApplicationContext
-
Packages that use TinyApplicationContext Package Description net.morimekta.tiny.server -
-
Uses of TinyApplicationContext in net.morimekta.tiny.server
Methods in net.morimekta.tiny.server that return TinyApplicationContext Modifier and Type Method Description TinyApplicationContextTinyApplicationContext. addHealthCheck(String name, TinyHealth.HealthCheck healthCheck)Add health check to active checks.TinyApplicationContextTinyApplicationContext. addReadyCheck(String name, TinyHealth.ReadyCheck readyCheck)Add ready check to active checks.TinyApplicationContextTinyApplicationContext. removeHealthCheck(String name)Remove health check with given name.TinyApplicationContextTinyApplicationContext. 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 voidTinyApplication. afterStop(TinyApplicationContext context)This method is called after the HTTP service has been stopped, but before the application exits.protected voidTinyApplication. beforeStop(TinyApplicationContext context)This method is called immediately when the service should start shutting down.protected abstract voidTinyApplication. onStart(TinyApplicationContext context)This method is called after the HTTP server is started, but before the service is considered "ready".
-