Trantor interview question

Spring life cycle