glassfish
  1. glassfish
  2. GLASSFISH-17859

hk2: @FactoryFor causes early loading of a module

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: other
    • Labels:
      None

      Description

      The way FactoryFor annotation is implemented, it causes the class to be loaded at habitat creation time and resulting in loading of any module that uses such annotation. One such affected module is virt-core in glassfish.

        Issue Links

          Activity

          Hide
          Tom Mueller added a comment -

          The @FactoryFor annotation is no longer used in GlassFish (the virt-core module was removed), so this issue no longer applies to GlassFish. If this is still an issue for some other usage of HK2, then please file an HK2 issue (hk2.java.net).

          Closing this issue.

          Show
          Tom Mueller added a comment - The @FactoryFor annotation is no longer used in GlassFish (the virt-core module was removed), so this issue no longer applies to GlassFish. If this is still an issue for some other usage of HK2, then please file an HK2 issue (hk2.java.net). Closing this issue.
          Hide
          Tom Mueller added a comment -

          Bulk update to reassign dochez issue to component lead.

          Show
          Tom Mueller added a comment - Bulk update to reassign dochez issue to component lead.

            People

            • Assignee:
              Mahesh Kannan
              Reporter:
              Sanjeeb Sahoo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: