Results 1 to 2 of 2

Thread: Get load time for each spring context file

  1. #1
    Join Date
    Oct 2012
    Posts
    1

    Default 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. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    No... There isn't... You might be able to do something like that by writing your own loaders but there is nothing build in.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •