Results 1 to 2 of 2

Thread: AnnotationConfigApplicationContext ouput as an XML

  1. #1
    Join Date
    Sep 2012
    Posts
    1

    Question AnnotationConfigApplicationContext ouput as an XML

    Hi ,
    I have loaded the Java Configuration with my PersistenceHibernateConfig.class.

    ApplicationContext context = new AnnotationConfigApplicationContext(PersistenceHibe rnateConfig.class);

    How can i print and check the exact XML content.
    Thanks
    Giri

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    You cannot also nor would it be possible with any of the other ApplicationContext implementations...
    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
  •