Announcement Announcement Module
Collapse
No announcement yet.
is it possible to save application context file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • is it possible to save application context file

    here is how I am loading default configuration

    Code:
    AbstractXmlApplicationContext _appContext = new ClassPathXmlApplicationContext(new String[] {"app-context.xml"});
    _appContext.registerShutdownHook();
    bean properties that are loaded are being modified at runtime, is there a way to persist the entire updated context back to app-context.xml file?

    Please suggest

  • #2
    You might want to do a search on the forum for this, it's come up a few times before.

    Comment


    • #3
      most of the posting dates back to 2005, current version of the sprig support persistence of the context with updated bean values ?

      Comment


      • #4
        Originally posted by pkbhavani View Post
        most of the posting dates back to 2005, current version of the sprig support persistence of the context with updated bean values ?
        There should be some more recent discussions, I'm pretty sure there were a couple in the last few months.

        Comment


        • #5
          anybody knows how to do this, looking for fresh ideas.

          -Praveen

          Comment


          • #6
            Did you have a look through the past articles?
            http://forum.springframework.org/showthread.php?t=37188

            Comment

            Working...
            X