To use, override the appropriate @Lifecycle and callback method(s). Make sure when overriding @Lifecycle methods
to call the super implementation, otherwise critical lifecycle set-up may not occur causing your server to either
function improperly or outright fail.
Typically, you will only need to interact with the following methods:
postWarmup -- create and bind any external interface(s). See com.twitter.inject.app.App#postWarmup
start -- callback executed after the injector is created and all @Lifecycle methods have completed.
A com.twitter.server.TwitterServer that supports injection and com.twitter.inject.TwitterModule modules.
To use, override the appropriate @Lifecycle and callback method(s). Make sure when overriding @Lifecycle methods to call the super implementation, otherwise critical lifecycle set-up may not occur causing your server to either function improperly or outright fail.
Typically, you will only need to interact with the following methods:
postWarmup -- create and bind any external interface(s). See com.twitter.inject.app.App#postWarmup start -- callback executed after the injector is created and all @Lifecycle methods have completed.