-1.
Although I agree that the naming is misleading, "contribute" is the
correct word to use; "configure" is not. You aren't configuring
anything. You are contributing a piece of information which /may/ be
used to /help/ configure a service. If anything, the method naming
should be changed to:
contributeToXXX.
Robert
On Jul 15, 2007, at 7/158:46 PM , [EMAIL PROTECTED] wrote:
在 Mon, 16 Jul 2007 06:29:28 +0800,dtrebbien <[EMAIL PROTECTED]>
写道:
I posted a message to Tapestry User, but I am now thinking that it
should
have been posted to this mailing list.
Here is the URL to my original message:
http://www.nabble.com/forum/ViewPost.jtp?post=11581727&framed=y
I would like to suggest that the "contribute...()" methods be
renamed to "configure...()"because the current names are
confusing.For example, contributeMasterObjectProvider does not
actually contribute a MasterObjectProvider;
instead, the method is used to add ObjectProviders, which
essentially means configuring theMasterObjectProvider service.
Maybe the method should even be
called"configureMasterObjectProviderService" in order to clarify
this even further.
+1
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]