hk2
  1. hk2
  2. HK2-191

Factories could use a lot of improvements

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      For example in DynamicConfiguration there could be a method like addActiveFactoryDescriptors(Class<Factory> yo). Perhaps we should also add a class like ActiveFactoryDescriptors and add a method to DynamicConfiguration addActiveFactory(ActiveFactoryDescriptor yo).

      There could also be a utility method in ServiceLocatorUtilities called addFactoryClasses that could automatically add in factory descriptors. addClasses could be enhanced to notice if a class was a Factory and either explicitly fail or add in the multiple descriptors.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jwells
            Reporter:
            jwells
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: