You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/05/30 13:35:04 UTC

[jira] [Updated] (TAP5-1705) Provide a way to create chains using ServiceBinder

     [ https://issues.apache.org/jira/browse/TAP5-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade updated TAP5-1705:
---------------------------------


This issue has been last updated about 1.5 years ago and has no information about the versions that are affected. That makes it hard to determine whether it is still relevant.
If the issue still persists with the current stable version (5.3.7) or the most recent development preview of Tapestry (5.4-beta-6), both of which are available from Maven Central, please update it as soon as possible, adding the respective version(s) to the issue's "Affects Version/s".

> Provide a way to create chains using ServiceBinder
> --------------------------------------------------
>
>                 Key: TAP5-1705
>                 URL: https://issues.apache.org/jira/browse/TAP5-1705
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>
> Currently, creating a chain enforces you to write quite a lot of boilerplate code. When using a lot of chains, a module class is full of methods looking similar. The only difference is the service interface.
> public static ServiceInterface buildServiceInterface(ChainBuilder builder, List<ServiceInterface> commands) {
>    return builder.build.(ServiceInterface.class, commands);
> }
> It would be nice to create chains inside the bind method:
> public static void bind(ServiceBinder bind) {
>    binder.chain(ServiceInterface.class);
> }



--
This message was sent by Atlassian JIRA
(v6.2#6252)