Announcement Announcement Module
No announcement yet.
Get load time for each spring context file Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Get load time for each spring context file

    I have four components having their own context file , i.e. four context files. I have defined these four context files in single context file say, applicationContext.xml. I have a main program which loads applicationContext.xml.

    Question: How would I know the time taken by spring to load each context file and time taken to load all.
    Is there any logging mechanism OR annotation based something

  • #2
    No... There isn't... You might be able to do something like that by writing your own loaders but there is nothing build in.