13 Replies Latest reply on Sep 30, 2008 6:53 AM by Stuart Douglas

    Maintaining insertion order of injected map

    Tobias Hill Newbie

      I prepare some key-value:ish data in components.xml which is to be injected in one of my beans at startup. I like to maintain the order of the key-value entries ... i.e.

        <property name="data">

      ... should be stored so that first key entry always is foo etc.

      Seam unfortunately does not recognize a LinkedHashMap-property so that is not an option.

      Any other ideas of how to do this?