Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-740

Allow overriding the default Spring assembly without having to modify it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.1.2
    • Assembly/Configuration
    • None

    Description

      Spring provides a simply configuration override solution: just have it load the overriding bean definitions later.
      Jetspeed currently loads all configurations (except the boot which is loaded first) from one directory which makes it difficult to use this feature as there is no guarantee in which order the files will be loaded.

      By adding an additional assembly subdirectory, override, to be loaded after the default assembly directory, it becomes very easy to use the Spring override feature.
      Just put only your changed/modified bean definitions in an Spring configuration xml file and there is no need to change the default assembly anymore.

      Attachments

        Activity

          People

            ate Ate Douma
            ate Ate Douma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: