You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Adriaan Joubert (JIRA)" <ji...@apache.org> on 2013/12/13 10:36:07 UTC

[jira] [Created] (TAP5-2262) IOC bind method does not allow specification of multiple markers

Adriaan Joubert created TAP5-2262:
-------------------------------------

             Summary: IOC bind method does not allow specification of multiple markers
                 Key: TAP5-2262
                 URL: https://issues.apache.org/jira/browse/TAP5-2262
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-ioc
    Affects Versions: 5.4
            Reporter: Adriaan Joubert


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



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)