[ 
http://issues.apache.org/jira/browse/HIVEMIND-177?page=comments#action_12417046 
] 

Knut Wannheden commented on HIVEMIND-177:
-----------------------------------------

Sorry if I'm a little late on this and if I'm nitpicking, but would it not be 
more consistent to call the attribute "parameter-index" instead of 
"parameterIndex"?

> Allow for customization of "parameter index" in StrategyFactory
> ---------------------------------------------------------------
>
>          Key: HIVEMIND-177
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-177
>      Project: HiveMind
>         Type: Improvement

>   Components: library
>     Versions: 1.1
>     Reporter: James Carman
>     Assignee: James Carman
>      Fix For: 1.1, 1.2

>
> We should allow customization of which parameter is used to lookup the proper 
> strategy in the StrategyFactory.  How about this...
> <invoke-factory service-id="hivemind.lib.StrategyFactory">
>   <construct configuration-id="MyStrategies" parameterIndex="1" />
> </invoke-factory>
> This would mean that parameter number 1 (or the 2nd parameter, since we're 
> zero-indexed) would be used to determine the proper strategy.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to