Tapestry
  1. Tapestry
  2. TAPESTRY-1387

@Inject should expose annotations on the field to the ObjectProvider

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.4
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      I've become somewhat enamored of the path of Guice, where a combination of the service interface, plus additional annotations, is used to select the ultimate service. This is a good model for which the current system (@Inject w/ a string) is something of a subset.

        Issue Links

          Activity

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

          This has come out great so far, but I'm not quite ready to close out the issue yet. I'm pondering whether @InjectPage should change to @Inject plus an optional @Page. Possibly something similar for injecting embedded components.

          Show
          Howard M. Lewis Ship added a comment - This has come out great so far, but I'm not quite ready to close out the issue yet. I'm pondering whether @InjectPage should change to @Inject plus an optional @Page. Possibly something similar for injecting embedded components.
          Howard M. Lewis Ship made changes -
          Field Original Value New Value
          Link This issue incorporates TAPESTRY-1331 [ TAPESTRY-1331 ]
          Howard M. Lewis Ship made changes -
          Assignee Howard M. Lewis Ship [ hlship ]
          Hide
          Howard M. Lewis Ship added a comment -

          Woops; wish I had remembered to note this bug in the current giant batch of changes. Giving Guice a run for its money.

          Show
          Howard M. Lewis Ship added a comment - Woops; wish I had remembered to note this bug in the current giant batch of changes. Giving Guice a run for its money.
          Howard M. Lewis Ship made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 5.0.4 [ 12312381 ]
          Status Open [ 1 ] Closed [ 6 ]
          Mark Thomas made changes -
          Workflow jira [ 12400540 ] Default workflow, editable Closed status [ 12567709 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12567709 ] jira [ 12590839 ]

            People

            • Assignee:
              Howard M. Lewis Ship
              Reporter:
              Howard M. Lewis Ship
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development