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

IOC bind method does not allow specification of multiple markers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4
    • 5.4
    • tapestry-ioc

    Description

      When binding a service in an AppModule in the bind() method, the ServiceBinder.bind() method returns a ServiceBindingOptions instance that defines

      <T extends Annotation> ServiceBindingOptions withMarker(Class<T>... marker);

      But this does not allow adding more than one marker, as they never have the same Class<T>. Modifying this to Class<? extends Annotation> would solve the problem.

      Thanks,

      Adriaan

      Attachments

        Activity

          People

            jkemnade Jochen Kemnade
            adriaanjoubert Adriaan Joubert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: