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

Allow overriding the default Spring assembly without having to modify it

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.2
    • Component/s: Assembly/Configuration
    • Labels:
      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

            • Assignee:
              adouma Ate Douma
              Reporter:
              adouma Ate Douma
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: