How to use Initialization callback methods while creating Spring bean?