Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1313

Configuration groups to easily allow multiple services with same implementation, allowing handling multiple hibernate databases

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      Contribution groups allow service implementations that are closely linked together, to be created multiple times (using markers to identify them) with automatic dependency resolution.

      e.g. service implementations OneImpl (implements One) and TwoImpl (implements Two) use eachother, then with markers red and blue, we get One@Red and One@Blue and Two@Red and Two@Blue. They will each have their own configurations (unmarked contributions go to both Red and Blue, but contributions marked Red will go to the One@Red and Two@Red services, etc.)

      This is applied to the hibernate and hibernate-core services, allowing multiple databases to be used without having to use spring services.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tvandijk Tom van Dijk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: