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:46:07 UTC
[jira] [Updated] (TAP5-2262) IOC bind method does not allow
specification of multiple markers
[ https://issues.apache.org/jira/browse/TAP5-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adriaan Joubert updated TAP5-2262:
----------------------------------
Labels: easyfix (was: )
> 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
> Labels: easyfix
>
> 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)