Hi,
In my Spring File I have multiple Beans (in multiple application context files being imported from one main application context).
My requirement is that, I want a particular Bean(which makes some configuration changes) to be initialized first among all the rest of beans.
Is there any where I can specify Spring to load that bean first? One probable way is to use depends-on attribute. But again, I don't want to add this attribute in all the rest of the beans (this is probably the last resort for me).
Can you please guide for the same?
Regards Sandeep Jindal