hk2
  1. hk2
  2. HK2-183

Add Enablement Support to @HK2

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: future releases
    • Component/s: None
    • Labels:
      None
    • Environment:

      jdk 7
      hk2 2.2.0
      mint linux 32bit

      Description

      It would be great if one could enable immediate services and per thread scope via @HK2 annotation.

        Activity

        Hide
        jwells added a comment -

        I think it is probably more useful to have "enabled" be the default and allow people to turn the enablement off with values from the HK2 annotation. Just seems more user friendly that way. I'd also add along with the per-thread and immediate scopes that turning on lookup exceptions should also be on by default.

        Show
        jwells added a comment - I think it is probably more useful to have "enabled" be the default and allow people to turn the enablement off with values from the HK2 annotation. Just seems more user friendly that way. I'd also add along with the per-thread and immediate scopes that turning on lookup exceptions should also be on by default.
        Hide
        jwells added a comment -

        Added those three things in by default. They can be turned off via fields in the HK2 annotation

        Show
        jwells added a comment - Added those three things in by default. They can be turned off via fields in the HK2 annotation

          People

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

            Dates

            • Created:
              Updated:
              Resolved: