Tapestry
  1. Tapestry
  2. TAPESTRY-273

Autowire Hivemind services into pages or components

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: Framework
    • Labels:
      None

      Description

      Allow autowiring of HiveMind services into pages and components.

      Comments from HLS:

      You can inject anything you can name (service:, configuration: spring. I can't see why we couldn't make the injection code (InjectPropertyWorker) smart enough to autowire a service if no value is provided for the object attribute of an <inject> element.

        Activity

        Richard Hensley created issue -
        Hide
        Howard M. Lewis Ship added a comment -

        Auto-wiring is somewhat doable, I think. I think I prefer to be explicit. Also, my latest "trick", using annotations + interfaces to "mix in" common injections, may suit your needs.

        Show
        Howard M. Lewis Ship added a comment - Auto-wiring is somewhat doable, I think. I think I prefer to be explicit. Also, my latest "trick", using annotations + interfaces to "mix in" common injections, may suit your needs.
        Hide
        Jesse Kuhnert added a comment -

        James Carman implemented a patch to fix this. It's in 4.1 now.

        Show
        Jesse Kuhnert added a comment - James Carman implemented a patch to fix this. It's in 4.1 now.
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Fix Version/s 4.1 [ 12310632 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 40336 ] Default workflow, editable Closed status [ 12566957 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566957 ] jira [ 12591920 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        515d 11h 16m 1 Jesse Kuhnert 23/Jul/06 17:01

          People

          • Assignee:
            Unassigned
            Reporter:
            Richard Hensley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development