[GLASSFISH-17859] hk2: @FactoryFor causes early loading of a module Created: 30/Nov/11 Updated: 07/Feb/13 Resolved: 07/Feb/13
|Reporter:||Sanjeeb Sahoo||Assignee:||Mahesh Kannan|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
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.
|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.