How to profile Spring application context loading?
Is there a way to profile the spring application context loading (except of putting the spring logs in DEBUG mode. Tried it already, I need something more fine grained)? In our application this takes long time, and I want to understand what are the reasons.
I already use the
context.setValidating(false);
context.refresh(); // Load the context.
in order not to validate the XML schema of the spring xml files of beans definitions.