[
https://issues.apache.org/jira/browse/TAP5-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Drobiazko reassigned TAP5-1705:
------------------------------------
Assignee: Igor Drobiazko
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira