You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Knut Wannheden (JIRA)" <hi...@jakarta.apache.org> on 2006/06/23 09:19:31 UTC

[jira] Updated: (HIVEMIND-177) Allow for customization of "parameter index" in StrategyFactory

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

Knut Wannheden updated HIVEMIND-177:
------------------------------------

    Fix Version: 1.1.2
                     (was: 1.1)

> 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.2, 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org