Synechron interview question

describe spring bean lifecycle