[GLASSFISH-17859] hk2: @FactoryFor causes early loading of a module Created: 30/Nov/11  Updated: 07/Feb/13  Resolved: 07/Feb/13

Status: Closed
Project: glassfish
Component/s: other
Affects Version/s: 4.0
Fix Version/s: 4.0

Type: Bug Priority: Major
Reporter: Sanjeeb Sahoo Assignee: Mahesh Kannan
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to GLASSFISH-18293 virtualization modules are always active Closed
Tags: spo

 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.



 Comments   
Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to reassign dochez issue to component lead.

Comment by Tom Mueller [ 07/Feb/13 ]

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.

Generated at Tue Jun 02 04:33:28 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.