Uploaded image for project: 'HiveMind'
  1. HiveMind
  2. HIVEMIND-177

Allow for customization of "parameter index" in StrategyFactory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1.2, 1.2
    • library
    • None

    Description

      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.

      Attachments

        Activity

          People

            jwcarman James Carman
            jwcarman James Carman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: