Announcement Announcement Module
No announcement yet.
creating context from application Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • creating context from application

    I'm wondering if spring actionscript supports a way of creating an XML application context from an application.

    ie. can i feed something a list of objects and get them turned into XML, which i can then store in a file - and load into another application when i need it?


  • #2
    ok, i'll take that as a NO then.


    • #3

      I started on this functionality but removed it recently from the codebase since it is an impossible to do (to some degree). I mean, you can easily create XML from an object graph, but you don't have the object definition metadata that the container understands (scope, factory method, id, abstract definitions, ...).

      - Christophe


      • #4
        Thanks Christophe,

        i've started to realise this after beginning to write my own implementation. My case is slightly simplified in that i'm saving back objects that were already created from an application context - so i'm able to store the metadata in the object itself when it's created. So i can get it back out.

        But i can see now how a general case wouldn't be so easy without making changes all over.

        Thanks for replying, though, much appreciated.