Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1810

ServiceBinder.bind() with an interface should check to see if there's an Impl class and bind to that.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.5
    • 5.0.14
    • tapestry-ioc
    • None

    Description

      In a module bind() method, if you invoke ServiceBinder.bind() and pass an interface, the code should check to see if there's a class in the same package named "XYZImpl" (for interface XYZ). If so, it should bind that Impl class as the implementation class. Convention over configuration, even in the small details.

      Attachments

        1. jira1810.zip
          4 kB
          Paul Cooley

        Activity

          People

            igor.drobiazko Igor Drobiazko
            hlship Howard Lewis Ship
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: