Details
-
Type:
Enhancement
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: 3.0.0.CR1, 2.4.2.SP1
-
Fix Version/s: 3.0.0.CR2, 2.4.3.Final
-
Component/s: None
-
Labels:None
-
Git Pull Request:
Description
Weld registers a built-in Bean per each bean archive (e.g. for javax.enterprise.event.Event, java.security.Principal, etc.) and also creates a proxy class for each such bean (the proxy class name contains the bean id). As a result, there are several redundant proxy classes generated. It should be safe to share a proxy class for all the beans of the same type (e.g. all EventBean instances).