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)" <de...@tapestry.apache.org> on 2008/03/03 00:17:50 UTC
[jira] Commented: (TAPESTRY-1810) ServiceBinder.bind() with an
interface should check to see if there's an Impl class and bind to that.
[ https://issues.apache.org/jira/browse/TAPESTRY-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574305#action_12574305 ]
Howard M. Lewis Ship commented on TAPESTRY-1810:
------------------------------------------------
I appreciate the effort of this "patch", but just providing new code is actually less useful in most cases than providing a real patch that can be applied by an IDE. Subversion can generate such a patch file from a modified workspace.
> ServiceBinder.bind() with an interface should check to see if there's an Impl class and bind to that.
> -----------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-1810
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1810
> Project: Tapestry
> Issue Type: New Feature
> Components: tapestry-ioc
> Affects Versions: 5.0.5
> Reporter: Howard M. Lewis Ship
> Attachments: jira1810.zip
>
>
> In a module bind() method, if you invoke ServiceBinder.bind() and pass an interface, the code should check to see if there's a class in the same package named "XYZImpl" (for interface XYZ). If so, it should bind that Impl class as the implementation class. Convention over configuration, even in the small details.
--
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