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

Allow injection of named spring beans

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 5.1.0.2
    • None
    • tapestry-spring

    Description

      Since 5.1 now handles Spring beans through the master object provider, it is (I think) impossible to specify spring beans by name, which is a pain when you have multiple spring beans implementing the same interface.

      Could the Spring Object Provider take notice of an annotation that specifies the bean name, please? (e.g. @Service or @Id)

      It would be particularly nice if the same annotation specified the names of Tapestry IOC services and spring beans, so that if we decide to move services from Spring into Tapestry IOC we don't need to change any other code.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulfield Paul Field
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: