You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2007/03/11 20:20:09 UTC
[jira] Closed: (TAPESTRY-1341) Allow service builders named "build"
and determine service id from the result type
[ https://issues.apache.org/jira/browse/TAPESTRY-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAPESTRY-1341.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.3
Assignee: Howard M. Lewis Ship
> Allow service builders named "build" and determine service id from the result type
> ----------------------------------------------------------------------------------
>
> Key: TAPESTRY-1341
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1341
> Project: Tapestry
> Issue Type: New Feature
> Components: tapestry-ioc
> Affects Versions: 5.0
> Reporter: Howard M. Lewis Ship
> Assigned To: Howard M. Lewis Ship
> Fix For: 5.0.3
>
>
> Threre's a strong pattern for service builders of the form:
> Foo buildFoo(...) { ... }
> In fact, virtually all service builders are of this form.
> Seems like a Dont Repeat Yourself violation.
> Foo build(...) {...}
> seems completely reasonable; determine the service id from the service interface name (the unqualified part).
> Obviously, the current behavior would be left for the reasonable cases where you need to provide a specific service id.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org